i'm now trying to signalEvent inside a custom WorkItemHandler implementation, so that the business process can catch this event, and deal with it correspondingly.
i implemented the method executeWorkItem(WorkItem, WorkItemManager)
and i think to signal event, first need to get the instance of ProcessInstance, or ksession, but failed to find a way out.
someone might said that, why not inject the ksession within the constructor. OK, but i think while registering the handler in jbpm-console, it only recognize the default constructor, right?
Retrieving data ...