aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/site-docs/adoc/fragments/howto-write-logic/task-logic.adoc2
-rw-r--r--src/site-docs/adoc/fragments/howto-write-logic/task-selection-logic.adoc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/site-docs/adoc/fragments/howto-write-logic/task-logic.adoc b/src/site-docs/adoc/fragments/howto-write-logic/task-logic.adoc
index 23a05024d..e014a9e9c 100644
--- a/src/site-docs/adoc/fragments/howto-write-logic/task-logic.adoc
+++ b/src/site-docs/adoc/fragments/howto-write-logic/task-logic.adoc
@@ -124,7 +124,7 @@ executor.logger.info("Executing task: "
*Example:*
[source,javascript,options="nowrap"]
----
-var returnValue = executor.TRUE;
+var returnValue = executor.isTrue;
// functionally equivalent to:
var returnValueType = Java.type("java.lang.Boolean");
var returnValue = new returnValueType(true);
diff --git a/src/site-docs/adoc/fragments/howto-write-logic/task-selection-logic.adoc b/src/site-docs/adoc/fragments/howto-write-logic/task-selection-logic.adoc
index 9225ac310..5e9dd8965 100644
--- a/src/site-docs/adoc/fragments/howto-write-logic/task-selection-logic.adoc
+++ b/src/site-docs/adoc/fragments/howto-write-logic/task-selection-logic.adoc
@@ -113,7 +113,7 @@ executor.logger.info("Executing TSL: "
*Example:*
[source,javascript,options="nowrap"]
----
-var returnValue = executor.TRUE;
+var returnValue = executor.isTrue;
// functionally equivalent to:
var returnValueType = Java.type("java.lang.Boolean");
var returnValue = new returnValueType(true);