Parallel If

Description

The Parallel If component is a component that executes another action in parallel only if certain conditions are met, while continuing the currently running action.

This allows for the reuse of previously created actions.

actioncomponent-parallelif

Conditions for executing another action can be specified with expressions. If the condition evaluates to true, another action is also executed; if false, no other action is performed, but the current 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.