Skip to content

Outcome conditions on sequence flows doesn't work properly inside parallel subprocesses #56

@gorbunkov

Description

@gorbunkov

There is a process with a parallel sub-process:
image

The model json: task-subprocess-test.zip

For "Yes" and "No" sequence flows the following conditions are automatically generated:

${approvalTask_result.count('yes') > 0}
${approvalTask_result.count('no') > 0}

The problem is that when the task is completed the decision is written to the global process variable approvalTask_result. The second person who completes the task sees the result of the first person. Even if the second person says "No", the "yes" condition will be true, because the approvalTask_result stores the decision of the first person.

The approvalTask_result should be saved to the scope of the subprocess.

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions