AnsweredAssumed Answered

Dynamic signal name?

Question asked by meweiss on Nov 13, 2015
Latest reply on Nov 18, 2015 by martin.grofcik

I am wondering if it is possible to dynamically set the id of a signal.

Example scenario: Let's say an employee gets fired. All other instances which were started by this employee need to be cancelled. The firing instance throws out a signal. All other instances need to catch the signal and check if they were started by the same employee. I want that signal id to contain the name of the employee ("Bob-fired-event") so we can check it in the BPMN itself (as opposed to the users having to save state somewhere and find the instances outside of the process).

It doesn't look like MessageThrowingEvents are a thing, otherwise you could include the employee id as the payload of the message and catch that.