AnsweredAssumed Answered

How to pass a BusinessKey to a SignalStartEvent process definition?

Question asked by jwestra on Apr 29, 2016
Latest reply on May 3, 2016 by jbarrez
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 "" from the signal's Map<String,Object>
3.) Call RuntimeService.updateBusinessKey() with the value of the "" process var.

How are people solving this problem?