On process cancel hook

We have an associated process (on a remote engine) that has to get notified when the process on the main engine gets canceled.
Is there any hook we can listen to? Or what would be the best way to run code “onCancel”?

Hi Jan,

One idea could be registering an execution listener on end on the process level and then using DelegateExecution#isCancelled to distinguish regular process end from cancellation.

Cheers,
Thorben

1 Like