Seeking any valid syntax building that it is admitted by Activiti.
Sorry, it is my first time here in this forum, and I was wrong introducing inside title the full question text, resulting in final part of it truncated.
No unit test yet.
So proceed to trying to explain it again:
We have multi-instance whole subprocess and would like to be NOT sequential, becuase of trying to download several files from a repository in parallel way (most efficient). For logic purposes, we must check a condition based on found or not each one of these files in that repository. So, the boolean variable inner name 'foundFile' has to of different name inside each of the instance deployed (as it is parallel, other way Activiti would not know what of the 'n-sime' foundFile value has to take in consideration). The way we have found to make this is to add a suffix to that variable name with '_${loopCounter}' value, index established as unique for each instance.
The problem is that evaluate this condition:
${foundFile_${loopCounter} == true}
is not valid according to EL v2.2 expressions specification (nesting $ references), which is the one that manages our Activiti 5.19.0 versión.
Any ideas to make a condition based expression that be valid and follows the rule of make different variable names for each instance?
Thank you again.
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.