HI,I want to know how to set dynamic complete conditions of multiInstance?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-26-2017 08:51 AM
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 !
Labels:
- Labels:
-
Alfresco Process Services
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2017 07:09 AM
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.