[jboss-dev-forums] [jBPM Development] - Can I invoke a WorkItemHandler's execute method directly from a script task ?
ashish yannam
do-not-reply at jboss.com
Mon Apr 15 15:58:19 EDT 2013
ashish yannam [https://community.jboss.org/people/ashish.yanni] created the discussion
"Can I invoke a WorkItemHandler's execute method directly from a script task ?"
To view the discussion, visit: https://community.jboss.org/message/808442#808442
--------------------------------------------------------------
I am having a BusinessRuleTask which is going to execute some rules. But before executing the rule, I want to do some pre-processing on the Object, whose properties i will be reading in the rule.
I am thinking of Implementing a generic pre-processing business logic in the WorkItemHandler implementation class.
I have the java WorkItemHandler implementation class ready. But I am not sure how do I invoke it from a script task OR from the BusinessRuleTask's OnEntry java script.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/808442#808442]
Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130415/a178ec10/attachment.html
More information about the jboss-dev-forums
mailing list