JBoss Community

Re: jBPM 5.0 ProcessContext creation

created by Victor Zorin in jBPM - View the full discussion

You do not need to get to a context, there are two signal methods in StatefulKnowledgeSession.

One method passes event to all processes run by this session, another one passes event to a specific instance given its id:

ksession.signalEvent(signalName, data, instance.getWorkflowInstanceId());

Reply to this message by going to Community

Start a new discussion in jBPM at Community