Page History
...
Check a Boolean expression and if it evaluates to false
then an alternative value is returned.
Example:
Expression |
|
---|---|
JSON | "var": "false orElse true" |
Conversion
Convert to Number
...
$js7JobName
- The name of the current job for which an order is executed.
$js7JobExecutionCount
- A counter for the number of times that the same job node is executed within a workflow, e.g. if used with the JS7 - Retry Instruction
$js7EpochMilli
$epochMilli
- The number of milliseconds since January 1st 1970 UTC.
$returnCode
- The numeric exit code of the current job for which an order is executed.
...
JobResource:<JobResource>:<Variable>
- The function returns the value of the specified
<Variable>
from the given<JobResource>
. - Consider the shorthand syntax that does not use brackets
Examples:
Expression JobResource:database_uk:db_user
JSON "JobResource:database_uk:db_user"
Sample Value scott
Expression JobResource:database_uk:db_user orElse 'scott'
JSON "JobResource:database_uk:db_user orElse 'scott'"
Sample Value scott
This example reads the
db_user
variable from thedatabase_uk
Job Resource. If the variable does not exist then the default value'scott'
is used.
- The function returns the value of the specified
...
Overview
Content Tools