Constants

The following predefined constants are available in the APL language.

Constant

Description

Example

Constant

Description

Example

null

Can be used to evaluate if a field has been assigned a value.

if ( NumFld != null )

true / false

Value of a boolean variable

myBool = true;

WORKFLOW_NAME

The workflow configuration name.

Note!

If used in a workflow with name Default.MyWorkflow.workflow_1, this constant will hold the value Default.MyWorkflow.

If the full name is needed, i.e. Default.MyWorkflow.workflow_1, use mimGet("Workflow", "Workflow Name") instead.





debug("Name of workflow:" + WORKFLOW_NAME);

AGENT_NAME

The Agent name where the variable is called from.

debug("Name of Agent:" + AGENT_NAME);