Constants(5.0)

Constants(5.0)

The following predefined constants are available in the APL language.

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.

 

AGENT_NAME

Agent name