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.