Skip to main content

getSituationFlags

A Workflow Engine function that retrieves the Situation flags and stores them in the workflowContext for subsequent actions to use. The function stores the flags in the workflowContext under workflowContext.situationFlags.

This function is available as a feature of the Workflow Engine v1.1 download and later.

This function is available for Situation workflows only.

Back to Workflow Engine Functions Reference.

Arguments

Workflow Engine function getSituationFlags has no arguments.

Example

The following example demonstrates typical use of Workflow Engine function getSituationFlags.

A Situation with the flag "TICKETED" produces the following result:

{
    "situationFlags": [
        "TICKETED"
    ]
}