flow:
  chain:
    - name: chain3
      condition:
        - type: then
          value: 'e,d'
    - name: chain1
      condition:
        - type: then
          value: 'a,b'
        - type: then
          value: 'c'
        - type: then
          value: 'chain2'
    - name: c
      condition:
        - type: then
          value: 'd,e'
    - name: chain2
      condition:
        - type: then
          value: 'b,a'
        - type: then
          value: 'chain3'