How to make parallel approval (user task)?

For example, when workflow start, 2 user task will be created and ask for user approval.
If both task is approved by user, the workflow will reach End.
If taskA is rejected by user, I want to make taskB to be disappear(cancel), and return to service task.

Start → service task → parallel gate → TaskA → parallel gate → End
→ TaskB →

How can I achieve this goal?
Thank you.

Hi @john.ng,

This solution might be what you are looking for

https://camunda.com/best-practices/modeling-with-situation-patterns/#using-a-multi-instance-task

2 Likes