Skip to content
Esteban Galvis Triana edited this page Sep 5, 2023 · 3 revisions

Switch

A switch type node allows validating the content of a jinja variable, and from the result to transit to another node.

Content:

- id: switch-1
  type: switch
  validation: '{{ opt }}'
  validation_attempts: 3
  cases:
  - id: 1
    o_connection: m1
  - id: 2
    o_connection: m2
  - id: default
    o_connection: m3
  - id: attempt_exceeded
    o_connection: m4
Clone this wiki locally