Hello,
I use a message to trigger an action in my workflow. This message is sent from an external application, using the name of the workflow and the name of the task as target, and some instance data as correlation.
This works well but if such a message is sent BEFORE the tasks starts, or even before the workflow starts, the message is kept in a queue, and triggers the action as soon as the task becomes active.
I want to make sure that ONLY the messages sent AFTER the beginning of the task are taken. In other words I want that the older messages are discarded, if any, when the task is started.
Is it possible ? For instance, is it possible to purge the messages having the relevant process name, task name, and correlation data through the API ? Or is there any other way to make sure that only new messages trigger the action ?
Thank you,
Michel