Skip to main content
December 18, 2024
Question

Process to process receive message event

  • December 18, 2024
  • 6 replies
  • 0 views

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?

    6 replies

    stefanhelzle0001
    December 18, 2024

    I do not see any obvious mistakes. What kind of process are these? Why do they need to be cancelled from the outside?

    December 19, 2024

    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?

    stefanhelzle0001
    December 19, 2024

    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?

    rakshitha0003
    December 20, 2024

    Hey [mention:b47483402db54588aa09daccbe2c26a1:e9ed411860ed4f2ba0265705b8793d05]  are you trying to achieve above use case with send and receive message events only ? 

    mathieud0001
    December 20, 2024

    The type for the uuid is number (integer), should be text.