Assertion
Validates that a specific attribute or value in the flow matches expected criteria.
Parameters
Identifier: Unique identifier for the action
Type: Must be
AssertParameters:
Namespace: JSON path to the attribute value to check
Operator: Comparison operator to use (see Supported operators)
Operand: Expected value to compare against
Transitions
-
NextAction: The unique identifier for the next action
-
Supported operators
Equals: Exact match
TextStartsWith: Text begins with the operand
TextEndsWith: Text ends with the operand
TextContains: Text contains the operand
NumberGreaterThan: Numeric value is greater than operand
NumberGreaterOrEqualTo: Numeric value is greater than or equal to operand
NumberLessThan: Numeric value is less than operand
NumberLessOrEqualTo: Numeric value is less than or equal to operand
Exists: Checks if the attribute exists (operand not required)
{ "Identifier" : "ActionId", "Type" : "Assert", "Parameters" : { "Namespace" : "string", // Data path to fetch "Operator": "string", // Comparasion operator "Operand" : "string" // Expected Value to compare } "Transitions": { "NextAction": "string" } }