{
  "flow": {
    "nodes": {
      "node": [
        {
          "id": "s1",
          "name": "普通脚本",
          "type": "script",
          "value": "def a=3;def b=2;slot.setData(\"s1\",a*b);"
        },
        {
          "id": "s2",
          "name": "条件脚本_改",
          "type": "cond_script",
          "value": "count = slot.getData(\"count\");if(count > 150){return \"b\";}else{return \"a\";}"
        },
        {
          "id": "s3",
          "name": "普通脚本_新增",
          "type": "script",
          "value": "def a=3;def b=2;def c=10;slot.setData(\"s1\",a*b+c);"
        }
      ]
    },
    "chain": [
      {
        "name": "chain1",
        "condition": [
          {"type": "then", "value": "a,b,c,s1"}
        ]
      },
      {
        "name": "chain2",
        "condition": [
          {"type": "then", "value": "d,s2(a|b),s3"}
        ]
      }
    ]
  }
}