Tipo de distribución
|
Expresión
|
Votos
|
Resultado
|
Manual exclusiva
|
//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); |
Amarillo 9
Azul 0
Rojo 1
|
Amarillo y rojo
|
Tipo de distribución
|
Expresión
|
Votos
|
Resultado
|
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); |
Amarillo 8
Azul 3
Rojo 9
|
No se hará la nueva camisa
|
Tipo de distribución
|
Expresión
|
Votos
|
Resultado
|
Manual exclusiva
|
//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"); } |
Amarillo 8
Azul 2
Rojo 0
|
Rojo
|
Tipo de distribución
|
Expresión
|
Votos
|
Resultado
|
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); |
Amarillo 7
Azul 4
Rojo 2
|
Amarillo y azul
|
Tipo de distribución
|
Expresión
|
Votos
|
Resultado
|
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); |
Amarillo 2
Azul 9
Rojo 3
|
Azul y rojo
|
Tipo de distribución
|
Expresión
|
Votos
|
Resultado
|
Manual exclusiva
|
//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); |
Amarillo 2
Azul 4
Rojo 4
|
Azul y rojo
|
Tipo de distribución
|
Expresión
|
Votos
|
Resultado
|
Manual exclusiva
|
//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); |
Amarillo 2
Azul 4
Rojo 4
|
Amarillo
|