Skip to main content

hasCorrelationInfo

This action returns true if a Situation has a specific item set.

This function is available as a feature of the Add-ons v2.3.5 download and later.

This function is available for Situation workflows only.

Back to Workflow Engine Functions Reference.

Arguments

Workflow Engine function hasCorrelationInfworkflowEngineFunction takes the following arguments:

Name

Required

Type

Description

serviceName

yes

string

The name of the correlated service.

itemName

yes

string

The external_id value to check for.

Example

To check to see if a Situation has a item called “Team1” set against a service named “Notification”

  • serviceName : Notification

  • itemName : Team1

If the Situation has this set, hasCorrelationInfo would return true.

If the Situation does not have this set, hasCorrelationInfo would return false.