diff options
Diffstat (limited to 'examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js')
-rw-r--r-- | examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js b/examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js index 33af49534..e49438d14 100644 --- a/examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js +++ b/examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js @@ -34,9 +34,9 @@ else if (executor.inFields.get("mode").equals("optimistic")) { else if (executor.inFields.get("mode").equals("dithering")) { executor.subject.getTaskKey("DitheringAnswerTask").copyTo(executor.selectedTask); } -//else if (executor.inFields.get("mode").equals("roundrobin")) { -// executor.subject.getTaskKey("RoundRobinAnswerTask").copyTo(executor.selectedTask); -//} +else if (executor.inFields.get("mode").equals("roundrobin")) { + executor.subject.getTaskKey("RoundRobinAnswerTask").copyTo(executor.selectedTask); +} executor.logger.info("Answer Selected Task:" + executor.selectedTask); |