Routing/Tallying Expression in Assigned Activity
Hi,
We have the following Routing/Tallying Expression in an Assigned Activity to avoid time loss during a multiple mandatory user review task:
int number=wt.workflow.work.WfTally.count(self,"Rework");
if(number>0)
{
result = "Rework";
wt.workflow.work.WorkflowHelper.service.completeActivity(self,"Rework");
}
else
{
result = "Approve";
}
How can I update this Expression if I want to include 2 extra Routing Options (Revise, Cancel)?
All mandatory Reviewers must Approve to release the Object in Review. If any Reviewer chooses another option, the flow should immediate start to follow that Routing Option, even if one or more Reviewers already approved.
Thanks for your help

