GoTo If

Description

The Go To If component allows continuation of execution with another action if certain conditions are met.

This allows for the reuse of previously created actions.

actioncomponent-gotoif

Conditions for triggering another action can be specified with expressions. If the condition evaluates to true, another action is executed; if false, no other action is performed but the process of the action continues. Variables with prefixes tp. / tv. / ap. / av. / cp. / cv. can be used as comparators in the conditional expressions.

Component Properties

Property NameDescription
Action IDThe ID of the action to execute
ConditionThe condition under which to execute the action

Example ConditionsExpression Examples
Targeting Payload, when Payload is numericcv.Payload > 10
When Payload is a stringcv.Payload =~ "^abc"
When Payload is a JSON arraycv.Payload[1] > 10
When Payload is a JSON Objectcv.Payload.key1 == "abc"

Action ID

The name of the action, excluding the file extension (.acs), is the Action ID.