Conditional Statement to tally voting for routing on multiple tasks
I urgently need help with a workflow. There are two tasks launched in parallel, each with the routing option to either Approve or Rework. I have an "AND" node which follows the tasks and then a conditional node in the workflow which asks the question: If either task routing selection is for Rework, otherwise, Approve to move forward in the workflow. The conditional statement doesn't have any syntax errors in it and looks like this:see below. But it's not working. Please be VERY specific with your response. Do I need to create a variable? Do I need to add "Route Choice" as a variable? I am desperate, and urgently need to complete this workflow and have it work ASAP. Thanks for any help you can provide.
WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject());
Vector userEvents = (Vector) mySelf.getUserEventList ( );
result = WfTally.any(self, "Rework", "Approved");
