路由类型
|
表达式
|
投票
|
结果
|
“手工排除”
|
//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); |
黄色 9 票
蓝色 0 票
红色 1 票
|
黄色和红色
|
路由类型
|
表达式
|
投票
|
结果
|
“手动”
|
//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); |
黄色 8 票
蓝色 3 票
红色 9 票
|
没有新衬衫
|
路由类型
|
表达式
|
投票
|
结果
|
“手工排除”
|
//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"); } |
黄色 8 票
蓝色 2 票
红色 0 票
|
红色
|
路由类型
|
表达式
|
投票
|
结果
|
“手动”
|
//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); |
黄色 7 票
蓝色 4 票
红色 2 票
|
黄色和蓝色
|
路由类型
|
表达式
|
投票
|
结果
|
“手动”
|
//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); |
黄色 2 票
蓝色 9 票
红色 3 票
|
蓝色和红色
|
路由类型
|
表达式
|
投票
|
结果
|
“手工排除”
|
//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); |
黄色 2 票
蓝色 4 票
红色 4 票
|
蓝色和红色
|
路由类型
|
表达式
|
投票
|
结果
|
“手工排除”
|
//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); |
黄色 2 票
蓝色 4 票
红色 4 票
|
黄色
|