Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

If one of these three things, don't pull in from an AIG statement

I wrote the following constructed list:

Parent list: FullProviderList

AIG(PlatfReccomendation,2)
Randomize()
SetListLength(2)
ADD(FullProviderList,1,3)
Randomize()

However, I want to make sure that the first three things  from FullProviderList won't be pulled if  they're greater than 2 in PlatfReccomendation

I know its some kind of if statement but not sure what
asked Mar 27 by anonymous

1 Answer

+1 vote
An if statement could be used, but I think this could also be handled by calling the Remove function like this between the AIG and SetListLength calls:

Remove(FullProviderList, 1, 3)
answered Mar 27 by Zachary Platinum Sawtooth Software, Inc. (120,900 points)
...