0 Replies Latest reply on Apr 15, 2013 3:58 PM by ashish.yanni

    Can I invoke a WorkItemHandler's execute method directly from a script task ?

    ashish.yanni

      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.