-
Notifications
You must be signed in to change notification settings - Fork 636
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multi-instance embedded variables #8396
Comments
We could consider using the same approach, but I see 1 downside to it: introducing these local variables to the local scope of the instances of a multi-instance activity can break existing processes of users if they are already using the variables in their processes. For example, these new local variables could hide existing variables at higher scopes. Although it's not likely that many users will be effected by this.
EDIT: I striked-through some lines, as @lzgabel pointed out, the spec is clear that these are variables (i.e. attributes) that exist for each instance of the multi-instance activity. |
Hi @korthout, as we can see from page #224, the variables of multi-instances are defined in the bpmn specification. |
😅 Oops I totally missed that! Thanks for pointing it out. 💯 |
duplicate of #2893 |
As required by the specification, each parent execution of the created executions for each instance will have the following variables:
nrOfInstances
: the total number of instancesnrOfActiveInstances
: the number of currently active, i.e. not yet finished, instances. For a sequential multi-instance, this will always be 1.nrOfCompletedInstances
: the number of already completed instances.See also the usage in Camunda 7 here: https://docs.camunda.org/manual/7.13/reference/bpmn20/tasks/task-markers/#multiple-instance
blocked by #8321
The text was updated successfully, but these errors were encountered: