Skip to main content

Fail Reason Matches

Fail Reason Matches

Evaluates whether the failure reason specified in the flow matches the provided input.

This is useful for branching flows based on why a previous element failed.

Match Reason

The reason to compare against.

This supports partial string matching and variables, and uses simple string operations like Contains.
If the current Failure Reason contains the text provided here, the first output is used. Otherwise, the second output is used.

Outputs

  1. Reason matched — the provided reason was found in the current failure reason.
  2. Reason did not match — the provided reason was not found.