summaryrefslogtreecommitdiffstats
path: root/examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js
diff options
context:
space:
mode:
Diffstat (limited to 'examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js')
-rw-r--r--examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js b/examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js
index 93261e2e0..85338f682 100644
--- a/examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js
+++ b/examples/examples-decisionmaker/src/main/resources/logic/MakeDecisionStateTSL.js
@@ -21,7 +21,7 @@
executor.logger.info(executor.subject.id);
executor.logger.info(executor.inFields);
-var returnValue = executor.TRUE;
+var returnValue = executor.isTrue;
if (executor.inFields.get("mode").equals("random")) {
executor.subject.getTaskKey("RandomAnswerTask").copyTo(executor.selectedTask);
@@ -39,4 +39,4 @@ else if (executor.inFields.get("mode").equals("dithering")) {
// executor.subject.getTaskKey("RoundRobinAnswerTask").copyTo(executor.selectedTask);
//}
-executor.logger.info("Answer Selected Task:" + executor.selectedTask); \ No newline at end of file
+executor.logger.info("Answer Selected Task:" + executor.selectedTask);