TWAZI

Condition Router

Routes workflow execution based on conditional logic and input data evaluation.

Inputs

  • Conditions required: Array of condition objects
  • Input Data required: Data to evaluate conditions against
  • Default Route: Route to take if no conditions match

Example

{
  "Conditions": [
    {
      "condition": "price > 100",
      "route": "high_price_path"
    },
    {
      "condition": "volume > 1000000",
      "route": "high_volume_path"
    }
  ],
  "Input Data": {
    "price": 150,
    "volume": 500000
  },
  "Default Route": "default_path"
}

Outputs

  • Selected Route: The chosen route based on evaluated conditions
  • Matched Condition: The condition that triggered the route
Condition router workflow example

On this page

Edit on GitHub