Nick Tan [http://community.jboss.org/people/missedone] created the discussion
"How to signal event inside WorkItemHandler implementation in jBPM5" To view the discussion, visit: http://community.jboss.org/message/605321#605321 -------------------------------------------------------------- hi, folks 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? any suggestion? thanks -- Nick -------------------------------------------------------------- Reply to this message by going to Community [http://community.jboss.org/message/605321#605321] Start a new discussion in jBPM at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
_______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user