flow:
  nodes:
    node:
      - id: a
        class: com.yomahub.liteflow.test.parser.cmp.ACmp
      - id: b
        class: com.yomahub.liteflow.test.parser.cmp.BCmp
      - id: c
        class: com.yomahub.liteflow.test.parser.cmp.CCmp
      - id: d
        class: com.yomahub.liteflow.test.parser.cmp.DCmp
      - id: e
        class: com.yomahub.liteflow.test.parser.cmp.ECmp
      - id: f
        class: com.yomahub.liteflow.test.parser.cmp.FCmp
      - id: g
        class: com.yomahub.liteflow.test.parser.cmp.GCmp
  chain:
    - name: chain1
      condition:
        - type: then
          value: 'a,c'
        - type: when
          value: 'b,d,e(f|g)'
        - type: then
          value: 'chain2'
    - name: chain2
      condition:
        - type: then
          value: 'c,g,f'
