Hi guys,
I am trying to delete old active process instances by using a send/receive message event.
This is the parent process which fetches old instance ids and sends the message to those active instances
Here i have defined a process uuid property which captures the uuid of the process model
In the receive message event, I have applied the condition if the uuid matches the specific value
The issue i have is the messages are sent successfully, however it's not being received because of the condition.
It worked fine when I used the processModelId property. Since it changes in every environment, i want to use uuid. What am I doing wrong in this configuration?
Discussion posts and replies are publicly visible
I do not see any obvious mistakes. What kind of process are these? Why do they need to be cancelled from the outside?
Hi Stefan,
These are active processes which are saved as draft and the UI task has already an exception flow based on other conditions. If I add another exception to the same task, the process gets paused by exception. Therefore, I used the send/receive message event to end the process. Is there any other way to end the process?
You are aware that, by default, your active instances will not pick up any change in the model?
Why not just cancel these instances manually?
Yes i am aware this will not work on old instances. This is more of a future proof approach
Hey ankitab9857 are you trying to achieve above use case with send and receive message events only ?
The type for the uuid is number (integer), should be text.