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&...]