Hi,
We are currently using Activiti in my company and are wondering how to achieve the following.
In short : we would like to be able to cancel the process at anytime and from anywhere in the diagram.
An ideal design would look like :
With the "Signal Catching Event" symbol being triggered by a signal (signal ref on a specified signal).
But we have the feeling that it should not be used that way... and when searching a little more in the documentation, we tried to do the following :
With a Signal Boundary Event on a subprocess.
But when we try to trigger the associated signal, "cancelSignal", by doing runtimeService.signalEventReceived("cancelSignal"), or runtimeService.signalEventReceived("annulationSignal", "117505") with the execution Id, the following exception is thrown :
Execution 117505 has not subscribed to a signal event with name "cancelSignal"
Could you please help us find the right solution for this use case?
Many thanks in advance
Ask for and offer help to other Alfresco Process Services and Activiti Users and members of the Alfresco team.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.