Skip to content

Match Case

Client SDK
Backend API
Mobile approve
SSO
Sub-journey

Adds different journey logic for different cases

Description

This step evaluates a condition statement, and selects different journey branches based on the result. For example, you can alter the flow based on the user's role, the payment amount, or user input from a form.

The condition is defined using a source expression, and each case is defined using a branch expression. A journey branch is selected by matching the result of the source expression to the result of a branch expression. If no match is found or there's an error in evaluation, the Otherwise branch is selected instead.

Configuration

FieldDescription
SourceExpression that yields the result to match to a branch.
Data TypeExpected data type for the result of the source expression. Options are: Integer, Double, String
Matched BranchesSet of branches, where each branch is defined by an expression evaluated at runtime and is selected when its result matches the result of the source expression. If results cannot be matched, the Otherwise branch is selected.