Camunda Process Listening to Main Flow

Good afternoon,

I am reaching out again as we are currently experiencing some difficulty in creating a flow that would fill the requirements for us.

We would need to have a CancelFlow service task that would listen to the main flow and would get triggered when one of the tasks gets stuck or when another module’s heartbeat indicates that the module restarted. We do have the logic to cancel a flow but we do not know how to add that CancelFlow within the main flow to be able to get triggered at any point.

To get an idea:

Looking forward to some clarification,

Hi,

Are you aware of event subprocesses? They can be called at any time. Furthermore, they can be interrupting, i.e., cancel the respective process instance automatically:

Ah great thank you! I will investigate how I can throw the interrupting message when an error occurs.

1 Like