HI,I want to know how to set dynamic complete conditions of multiInstance?

cancel
Showing results for 
Search instead for 
Did you mean: 
tobebetter9527
Member II

HI,I want to know how to set dynamic complete conditions of multiInstance?

HI, I want to know how to set dynamic complete conditions of multiInstance. For instance, I can set "${approved == false}" this time, next time ,I want to set "${nrOfActiveInstances  >= 5}" . Thank you !

1 Reply
kalpesh_c2
Senior Member

Re: HI,I want to know how to set dynamic complete conditions of multiInstance?

Hi Tim,
Take one extra variable and assign a value to that variable and execute your condition based on the taken variable
Example : 

             if(extra_var == 1){
                      condition 1;
                     }else if(extra_var == 2){
                     condition 2;
              }‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍

and update the value of extra_var every time to execute your code.