ルーティングタイプ
|
定義式
|
投票
|
結果
|
手動 (制限)
|
//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
|
黄
|