[jboss-user] [jBPM] - How to signal event inside WorkItemHandler implementation in jBPM5
Nick Tan
do-not-reply at jboss.com
Sat May 14 23:42:21 EDT 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110514/f700d201/attachment.html
More information about the jboss-user
mailing list