Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

Custom Percent Allocation

Hello,

I need to make a percent allocation routine in IPCC 7.1.3 Script Editor which will use global variables instead of the hard coded Percent Allocation node.

Has anyone done something like this before? Can you tell me how you did it?

Thanks!

Barry

3 REPLIES

Re: Custom Percent Allocation

How many branches do you want to have? If you only have 2 or maybe even 3, it might be possible using the random generator and having some sort of variable passed from some external source.

david

New Member

Re: Custom Percent Allocation

You could use a custom function.

Re: Custom Percent Allocation

Thanks, for now I think I will stick with:

random()<=(Global.Variable/100)

Would be nice if you could use a global variable in a percent allocation node though!

Barry

208
Views
0
Helpful
3
Replies