Path is always taken when condition is failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2018 05:51 AM
Hi Team
I am using activiti in my spring web application.
After completion of parallel tasks, rejection path will take only when condition is true. but after completion of parallel tasks both paths are executed. please let me know how to solve this?
Thanks
- Labels:
-
Alfresco Process Services

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2018 03:16 AM
Hi Vamsi,
Attach the process xml, that would enable us to look into the issue. My guess is that you have configured a condition on one sequence flow and have not configured any condition on the other flow. Hence when one flow's condition is true, both the paths are executed. And if one is false, only one flow was executed where there is no condition configured.
To solve your issue, you must configure a condition on both the flows.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2018 03:45 PM
You may want to use an inclusive gateway while merging. When you use an inclusive gateway, if there are conditions, it will respect the conditions you have on the sequence.
