I'd like to kick off any number of processes that are subscribed to a signal name and started therefore by a SignalStartEvent.
I'd also like these process instances to have a "business key".
However, there is no API to pass a business key in the numerous RuntimeService.signalEventReceived() overloads.
I am thinking about this approach:
1.) Listening to ProcessInstance ENTITY_INITIALIZED event
2.) Pulling out a process variable of my own called "my.business.key" from the signal's Map<String,Object>
3.) Call RuntimeService.updateBusinessKey() with the value of the "my.business.key" process var.
How are people solving this problem?