Constants

The following predefined constants are available in the APL language.

ConstantDescriptionExample
nullCan be used to evaluate if a field has been assigned a value.
if ( NumFld != null )
true / falseValue 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_NAMEThe Agent name where the variable is called from.debug("Name of Agent:" + AGENT_NAME);