Routing Type
|
Expression
|
Votes
|
Outcome
|
Manual exclusive
|
//Get the object that represents this activity.
WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject()); //Get the routing events for this activity. Vector userEvents = (Vector)mySelf.getUserEventList(); //Specify the result. result = WfTally.any(self, userEvents); |
Yellow 9
Blue 0
Red 1
|
Yellow and red
|
Routing Type
|
Expression
|
Votes
|
Outcome
|
Manual
|
//Get the object that represents this activity.
WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject()); //Get the routing events for this activity. Vector userEvents = (Vector)mySelf.getUserEventList(); //Specify the result. result = WfTally.all(self, userEvents); |
Yellow 8
Blue 3
Red 9
|
No new shirt
|
Routing Type
|
Expression
|
Votes
|
Outcome
|
Manual exclusive
|
//Get the object that represents this activity.
WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject()); //Specify the result. result = WfTally.all(self, "Blue", "Red"); if (result != "Blue") { result = WfTally.all(self, "Yellow", "Red"); } |
Yellow 8
Blue 2
Red 0
|
Red
|
Routing Type
|
Expression
|
Votes
|
Outcome
|
Manual
|
//Get the object that represents this activity.
WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject()); //Get the routing events for this activity. Vector userEvents = (Vector)mySelf.getUserEventList(); //Specify the result. result = WfTally.percent(self, WfTally.GT, 30, userEvents); |
Yellow 7
Blue 4
Red 2
|
Yellow and blue
|
Routing Type
|
Expression
|
Votes
|
Outcome
|
Manual
|
//Get the object that represents this activity.
WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject()); //Get the routing events for this activity. Vector userEvents = (Vector)mySelf.getUserEventList(); //Specify the result. result = WfTally.number(self, WfTally.GTE, 3, userEvents); |
Yellow 2
Blue 9
Red 3
|
Blue and red
|
Routing Type
|
Expression
|
Votes
|
Outcome
|
Manual exclusive
|
//Get the object that represents this activity.
WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject()); //Get the routing events for this activity. Vector userEvents = (Vector)mySelf.getUserEventList(); //Specify the result. result = WfTally.plurality(self, userEvents); |
Yellow 2
Blue 4
Red 4
|
Blue and red
|
Routing Type
|
Expression
|
Votes
|
Outcome
|
Manual exclusive
|
//Get the object that represents this activity.
WfAssignedActivity mySelf = ((WfAssignedActivity)self.getObject()); //Get the routing events for this activity. Vector userEvents = (Vector)mySelf.getUserEventList(); //Specify the result. result = WfTally.notPlurality(self, userEvents); |
Yellow 2
Blue 4
Red 4
|
Yellow
|