{
  "name": "新模型",
  "description": "极引非东活已运王点越组油门展总想立。年深江亲联热制者条济它部即月。号线信平和者京两马何标这。",
  "category": "customCategory",
  "jsonModel": {
    "noticeConf": {
      "pendingMessageId": "41",
      "noticeMessageId": "64",
      "smsId": "40"
    },
    "buttonConf": {
      "initiator": [
        {
          "order": 1,
          "btnKey": "BPMN_APPROVE",
          "checked": true,
          "disabled": false,
          "btnName": "同意"
        },
        {
          "order": 2,
          "btnKey": "BPMN_REJECT",
          "btnName": "拒绝",
          "checked": true,
          "disabled": false
        },
        {
          "order": 3,
          "btnKey": "BPMN_REVOCATION",
          "btnName": "撤回",
          "checked": true,
          "disabled": false
        },
        {
          "order": 4,
          "btnKey": "BPMN_FORWARD",
          "btnName": "转交",
          "checked": true,
          "disabled": false
        },
        {
          "order": 5,
          "btnKey": "BPMN_COUNTERSIGN",
          "btnName": "加签",
          "checked": true,
          "disabled": false
        },
        {
          "order": 6,
          "btnKey": "BPMN_COMMENT",
          "btnName": "评论",
          "checked": true,
          "disabled": false
        },
        {
          "order": 7,
          "btnKey": "BPMN_ROLLBACK",
          "btnName": "回退",
          "checked": true,
          "disabled": false
        },
        {
          "order": 8,
          "btnKey": "BPMN_COPY",
          "btnName": "抄送",
          "checked": true,
          "disabled": false
        }
      ],
      "carbonCopy": [
        {
          "order": 1,
          "btnKey": "BPMN_APPROVE",
          "checked": true,
          "disabled": false,
          "btnName": "同意"
        },
        {
          "order": 2,
          "btnKey": "BPMN_REJECT",
          "btnName": "拒绝",
          "checked": true,
          "disabled": false
        },
        {
          "order": 3,
          "btnKey": "BPMN_REVOCATION",
          "btnName": "撤回",
          "checked": true,
          "disabled": false
        },
        {
          "order": 4,
          "btnKey": "BPMN_FORWARD",
          "btnName": "转交",
          "checked": true,
          "disabled": false
        },
        {
          "order": 5,
          "btnKey": "BPMN_COUNTERSIGN",
          "btnName": "加签",
          "checked": true,
          "disabled": false
        },
        {
          "order": 6,
          "btnKey": "BPMN_COMMENT",
          "btnName": "评论",
          "checked": true,
          "disabled": false
        },
        {
          "order": 7,
          "btnKey": "BPMN_ROLLBACK",
          "btnName": "回退",
          "checked": true,
          "disabled": false
        },
        {
          "order": 8,
          "btnKey": "BPMN_COPY",
          "btnName": "抄送",
          "checked": true,
          "disabled": false
        }
      ],
      "history": [
        {
          "order": 1,
          "btnKey": "BPMN_APPROVE",
          "checked": true,
          "disabled": false,
          "btnName": "同意"
        },
        {
          "order": 2,
          "btnKey": "BPMN_REJECT",
          "btnName": "拒绝",
          "checked": true,
          "disabled": false
        },
        {
          "order": 3,
          "btnKey": "BPMN_REVOCATION",
          "btnName": "撤回",
          "checked": true,
          "disabled": false
        },
        {
          "order": 4,
          "btnKey": "BPMN_FORWARD",
          "btnName": "转交",
          "checked": true,
          "disabled": false
        },
        {
          "order": 5,
          "btnKey": "BPMN_COUNTERSIGN",
          "btnName": "加签",
          "checked": true,
          "disabled": false
        },
        {
          "order": 6,
          "btnKey": "BPMN_COMMENT",
          "btnName": "评论",
          "checked": true,
          "disabled": false
        },
        {
          "order": 7,
          "btnKey": "BPMN_ROLLBACK",
          "btnName": "回退",
          "checked": true,
          "disabled": false
        },
        {
          "order": 8,
          "btnKey": "BPMN_COPY",
          "btnName": "抄送",
          "checked": true,
          "disabled": false
        }
      ],
      "current": [
        {
          "order": 1,
          "btnKey": "BPMN_APPROVE",
          "checked": true,
          "disabled": false,
          "btnName": "同意"
        },
        {
          "order": 2,
          "btnKey": "BPMN_REJECT",
          "btnName": "拒绝",
          "checked": true,
          "disabled": false
        },
        {
          "order": 3,
          "btnKey": "BPMN_REVOCATION",
          "btnName": "撤回",
          "checked": true,
          "disabled": false
        },
        {
          "order": 4,
          "btnKey": "BPMN_FORWARD",
          "btnName": "转交",
          "checked": true,
          "disabled": false
        },
        {
          "order": 5,
          "btnKey": "BPMN_COUNTERSIGN",
          "btnName": "加签",
          "checked": true,
          "disabled": false
        },
        {
          "order": 6,
          "btnKey": "BPMN_COMMENT",
          "btnName": "评论",
          "checked": true,
          "disabled": false
        },
        {
          "order": 7,
          "btnKey": "BPMN_ROLLBACK",
          "btnName": "回退",
          "checked": true,
          "disabled": false
        },
        {
          "order": 8,
          "btnKey": "BPMN_COPY",
          "btnName": "抄送",
          "checked": true,
          "disabled": false
        }
      ]
    },
    "fieldConf": [
      {
        "name": "价格",
        "code": "price",
        "type": "number"
      },
      {
        "name": "标题",
        "code": "title",
        "type": "string"
      },
      {
        "name": "性别",
        "code": "age",
        "type": "radio",
        "options": [
          {
            "name": "男",
            "value": "1"
          },
          {
            "name": "女",
            "value": "2"
          }
        ]
      },
      {
        "name": "颜色",
        "code": "color",
        "type": "checkbox",
        "options": [
          {
            "name": "红色",
            "value": "read"
          },
          {
            "name": "蓝色",
            "value": "blue"
          },
          {
            "name": "绿色",
            "value": "green"
          }
        ]
      }
    ],
    "node": {
      "id": "1",
      "parentId": "0",
      "type": "NODE_STARTER",
      "name": "发起人",
      "children": {
        "id": "2",
        "parentId": "1",
        "type": "NODE_TASK",
        "name": "一级审批",
        "children": {
          "id": "3",
          "parentId": "2",
          "type": "NODE_EXCLUSIVE_GATEWAY",
          "name": "排它网关",
          "children": {
            "id": "11",
            "parentId": "3",
            "type": "NODE_CARBON_COPY",
            "name": "主流程抄送节点",
            "children": {
              "id": "12",
              "parentId": "3",
              "type": "NODE_EMPTY",
              "name": "结束",
              "children": null,
              "branches": null,
              "property": null
            },
            "branches": null,
            "property": null
          },
          "branches": [
            {
              "id": "4",
              "parentId": "3",
              "type": "NODE_CONDITION",
              "name": "条件1",
              "property": {
                "groups": [
                  {
                    "conditionsType": "and",
                    "conditions": [
                      {
                        "fieldDataType": "string",
                        "fieldCode": "title",
                        "operator": "contains",
                        "defaultValue": "测试"
                      },
                      {
                        "fieldDataType": "number",
                        "fieldCode": "price",
                        "operator": "eq",
                        "defaultValue": "2"
                      }
                    ]
                  }
                ],
                "defaultBranch": false,
                "groupsType": "and"
              },
              "children": {
                "id": "7",
                "parentId": "4",
                "type": "NODE_TASK",
                "name": "条件1审核节点",
                "children": {
                  "id": "8",
                  "parentId": "7",
                  "type": "NODE_CARBON_COPY",
                  "name": "条件1抄送节点",
                  "children": null,
                  "property": null,
                  "branches": null
                },
                "property": {
                  "approvalMethod": "autoPassed",
                  "approverScope": "entWorkspace",
                  "approverSpecify": "position",
                  "specifyValue": [
                    "{\"name\":\"岗位 1\", \"value\": \"job1\"}",
                    "{\"name\":\"岗位 2\", \"value\": \"job2\"}"
                  ],
                  "isMultiTask": "true",
                  "multiMode": "AND",
                  "approverEmptyHandleType": "autoPassed",
                  "fieldPermission": null,
                  "buttonPermission": {
                    "initiator": [
                      {
                        "order": 1,
                        "btnKey": "BPMN_APPROVE",
                        "checked": true,
                        "disabled": false,
                        "btnName": "同意"
                      },
                      {
                        "order": 2,
                        "btnKey": "BPMN_REJECT",
                        "btnName": "拒绝",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 3,
                        "btnKey": "BPMN_REVOCATION",
                        "btnName": "撤回",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 4,
                        "btnKey": "BPMN_FORWARD",
                        "btnName": "转交",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 5,
                        "btnKey": "BPMN_COUNTERSIGN",
                        "btnName": "加签",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 6,
                        "btnKey": "BPMN_COMMENT",
                        "btnName": "评论",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 7,
                        "btnKey": "BPMN_ROLLBACK",
                        "btnName": "回退",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 8,
                        "btnKey": "BPMN_COPY",
                        "btnName": "抄送",
                        "checked": true,
                        "disabled": false
                      }
                    ],
                    "carbonCopy": [
                      {
                        "order": 1,
                        "btnKey": "BPMN_APPROVE",
                        "checked": true,
                        "disabled": false,
                        "btnName": "同意"
                      },
                      {
                        "order": 2,
                        "btnKey": "BPMN_REJECT",
                        "btnName": "拒绝",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 3,
                        "btnKey": "BPMN_REVOCATION",
                        "btnName": "撤回",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 4,
                        "btnKey": "BPMN_FORWARD",
                        "btnName": "转交",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 5,
                        "btnKey": "BPMN_COUNTERSIGN",
                        "btnName": "加签",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 6,
                        "btnKey": "BPMN_COMMENT",
                        "btnName": "评论",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 7,
                        "btnKey": "BPMN_ROLLBACK",
                        "btnName": "回退",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 8,
                        "btnKey": "BPMN_COPY",
                        "btnName": "抄送",
                        "checked": true,
                        "disabled": false
                      }
                    ],
                    "history": [
                      {
                        "order": 1,
                        "btnKey": "BPMN_APPROVE",
                        "checked": true,
                        "disabled": false,
                        "btnName": "同意"
                      },
                      {
                        "order": 2,
                        "btnKey": "BPMN_REJECT",
                        "btnName": "拒绝",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 3,
                        "btnKey": "BPMN_REVOCATION",
                        "btnName": "撤回",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 4,
                        "btnKey": "BPMN_FORWARD",
                        "btnName": "转交",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 5,
                        "btnKey": "BPMN_COUNTERSIGN",
                        "btnName": "加签",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 6,
                        "btnKey": "BPMN_COMMENT",
                        "btnName": "评论",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 7,
                        "btnKey": "BPMN_ROLLBACK",
                        "btnName": "回退",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 8,
                        "btnKey": "BPMN_COPY",
                        "btnName": "抄送",
                        "checked": true,
                        "disabled": false
                      }
                    ],
                    "current": [
                      {
                        "order": 1,
                        "btnKey": "BPMN_APPROVE",
                        "checked": true,
                        "disabled": false,
                        "btnName": "同意"
                      },
                      {
                        "order": 2,
                        "btnKey": "BPMN_REJECT",
                        "btnName": "拒绝",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 3,
                        "btnKey": "BPMN_REVOCATION",
                        "btnName": "撤回",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 4,
                        "btnKey": "BPMN_FORWARD",
                        "btnName": "转交",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 5,
                        "btnKey": "BPMN_COUNTERSIGN",
                        "btnName": "加签",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 6,
                        "btnKey": "BPMN_COMMENT",
                        "btnName": "评论",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 7,
                        "btnKey": "BPMN_ROLLBACK",
                        "btnName": "回退",
                        "checked": true,
                        "disabled": false
                      },
                      {
                        "order": 8,
                        "btnKey": "BPMN_COPY",
                        "btnName": "抄送",
                        "checked": true,
                        "disabled": false
                      }
                    ]
                  }
                },
                "branches": null
              },
              "branches": null
            },
            {
              "id": "5",
              "parentId": "3",
              "type": "NODE_CONDITION",
              "name": "条件2",
              "property": {
                "groups": [
                  {
                    "conditionsType": "and",
                    "conditions": [
                      {
                        "fieldDataType": "number",
                        "fieldCode": "size",
                        "operator": "between",
                        "leftValue": "31",
                        "leftOperator": "le",
                        "rightValue": "34",
                        "rightOperator": "gt"
                      },
                      {
                        "fieldDataType": "radio",
                        "fieldCode": "sex",
                        "operator": "eq",
                        "defaultValue": "2"
                      },
                      {
                        "fieldDataType": "checkbox",
                        "fieldCode": "color",
                        "operator": "in",
                        "defaultValues": [
                          "red",
                          "blue"
                        ]
                      }
                    ]
                  }
                ],
                "defaultBranch": false,
                "groupsType": "and"
              },
              "children": {
                "id": "9",
                "parentId": "5",
                "type": "NODE_BUSINESS",
                "name": "条件2业务节点",
                "children": {
                  "id": "10",
                  "parentId": "9",
                  "type": "NODE_TASK",
                  "name": "条件2审批节点",
                  "children": {
                    "id": "13",
                    "parentId": "10",
                    "type": "NODE_BUSINESS",
                    "name": "业务节点有审批人",
                    "property": {
                      "approvalMethod": "human",
                      "approverScope": "projectWorkspace",
                      "approverSpecify": "identity",
                      "specifyValue": [
                        "{\"name\": \"工人\", \"value\": \"worker\"}",
                        "{\"name\": \"班组长\", \"value\": \"team_worker\"}"
                      ],
                      "isMultiTask": "true",
                      "multiMode": "AND",
                      "approverEmptyHandleType": "transferToAdmin",
                      "fieldPermission": null,
                      "buttonPermission": null
                    },
                    "children": null,
                    "branches": null
                  },
                  "property": {
                    "approvalMethod": "human",
                    "approverScope": "projectWorkspace",
                    "approverSpecify": "position",
                    "specifyValue": [
                      "{\"name\":\"岗位 1\", \"value\": \"job1\"}",
                      "{\"name\":\"岗位 2\", \"value\": \"job2\"}"
                    ],
                    "isMultiTask": "true",
                    "multiMode": "AND",
                    "approverEmptyHandleType": "autoPassed",
                    "fieldPermission": null,
                    "buttonPermission": null
                  },
                  "branches": null
                },
                "property": {
                  "approvalMethod": "nobody"
                },
                "branches": null
              },
              "branches": null
            },
            {
              "id": "6",
              "parentId": "3",
              "type": "NODE_CONDITION",
              "name": "默认条件",
              "property": {
                "defaultBranch": true
              },
              "children": null,
              "branches": null
            }
          ],
          "property": null
        },
        "branches": null,
        "property": {
          "approvalMethod": "human",
          "approverScope": "projectWorkspace",
          "approverSpecify": "position",
          "specifyValue": [
            "{\"name\":\"岗位 1\", \"value\": \"job1\"}",
            "{\"name\":\"岗位 2\", \"value\": \"job2\"}"
          ],
          "isMultiTask": "true",
          "multiMode": "AND",
          "approverEmptyHandleType": "autoPassed",
          "fieldPermission": null,
          "buttonPermission": {
            "initiator": [
              {
                "order": 1,
                "btnKey": "BPMN_APPROVE",
                "checked": true,
                "disabled": false,
                "btnName": "同意"
              },
              {
                "order": 2,
                "btnKey": "BPMN_REJECT",
                "btnName": "拒绝",
                "checked": true,
                "disabled": false
              },
              {
                "order": 3,
                "btnKey": "BPMN_REVOCATION",
                "btnName": "撤回",
                "checked": true,
                "disabled": false
              },
              {
                "order": 4,
                "btnKey": "BPMN_FORWARD",
                "btnName": "转交",
                "checked": true,
                "disabled": false
              },
              {
                "order": 5,
                "btnKey": "BPMN_COUNTERSIGN",
                "btnName": "加签",
                "checked": true,
                "disabled": false
              },
              {
                "order": 6,
                "btnKey": "BPMN_COMMENT",
                "btnName": "评论",
                "checked": true,
                "disabled": false
              },
              {
                "order": 7,
                "btnKey": "BPMN_ROLLBACK",
                "btnName": "回退",
                "checked": true,
                "disabled": false
              },
              {
                "order": 8,
                "btnKey": "BPMN_COPY",
                "btnName": "抄送",
                "checked": true,
                "disabled": false
              }
            ],
            "carbonCopy": [
              {
                "order": 1,
                "btnKey": "BPMN_APPROVE",
                "checked": true,
                "disabled": false,
                "btnName": "同意"
              },
              {
                "order": 2,
                "btnKey": "BPMN_REJECT",
                "btnName": "拒绝",
                "checked": true,
                "disabled": false
              },
              {
                "order": 3,
                "btnKey": "BPMN_REVOCATION",
                "btnName": "撤回",
                "checked": true,
                "disabled": false
              },
              {
                "order": 4,
                "btnKey": "BPMN_FORWARD",
                "btnName": "转交",
                "checked": true,
                "disabled": false
              },
              {
                "order": 5,
                "btnKey": "BPMN_COUNTERSIGN",
                "btnName": "加签",
                "checked": true,
                "disabled": false
              },
              {
                "order": 6,
                "btnKey": "BPMN_COMMENT",
                "btnName": "评论",
                "checked": true,
                "disabled": false
              },
              {
                "order": 7,
                "btnKey": "BPMN_ROLLBACK",
                "btnName": "回退",
                "checked": true,
                "disabled": false
              },
              {
                "order": 8,
                "btnKey": "BPMN_COPY",
                "btnName": "抄送",
                "checked": true,
                "disabled": false
              }
            ],
            "history": [
              {
                "order": 1,
                "btnKey": "BPMN_APPROVE",
                "checked": true,
                "disabled": false,
                "btnName": "同意"
              },
              {
                "order": 2,
                "btnKey": "BPMN_REJECT",
                "btnName": "拒绝",
                "checked": true,
                "disabled": false
              },
              {
                "order": 3,
                "btnKey": "BPMN_REVOCATION",
                "btnName": "撤回",
                "checked": true,
                "disabled": false
              },
              {
                "order": 4,
                "btnKey": "BPMN_FORWARD",
                "btnName": "转交",
                "checked": true,
                "disabled": false
              },
              {
                "order": 5,
                "btnKey": "BPMN_COUNTERSIGN",
                "btnName": "加签",
                "checked": true,
                "disabled": false
              },
              {
                "order": 6,
                "btnKey": "BPMN_COMMENT",
                "btnName": "评论",
                "checked": true,
                "disabled": false
              },
              {
                "order": 7,
                "btnKey": "BPMN_ROLLBACK",
                "btnName": "回退",
                "checked": true,
                "disabled": false
              },
              {
                "order": 8,
                "btnKey": "BPMN_COPY",
                "btnName": "抄送",
                "checked": true,
                "disabled": false
              }
            ],
            "current": [
              {
                "order": 1,
                "btnKey": "BPMN_APPROVE",
                "checked": true,
                "disabled": false,
                "btnName": "同意"
              },
              {
                "order": 2,
                "btnKey": "BPMN_REJECT",
                "btnName": "拒绝",
                "checked": true,
                "disabled": false
              },
              {
                "order": 3,
                "btnKey": "BPMN_REVOCATION",
                "btnName": "撤回",
                "checked": true,
                "disabled": false
              },
              {
                "order": 4,
                "btnKey": "BPMN_FORWARD",
                "btnName": "转交",
                "checked": true,
                "disabled": false
              },
              {
                "order": 5,
                "btnKey": "BPMN_COUNTERSIGN",
                "btnName": "加签",
                "checked": true,
                "disabled": false
              },
              {
                "order": 6,
                "btnKey": "BPMN_COMMENT",
                "btnName": "评论",
                "checked": true,
                "disabled": false
              },
              {
                "order": 7,
                "btnKey": "BPMN_ROLLBACK",
                "btnName": "回退",
                "checked": true,
                "disabled": false
              },
              {
                "order": 8,
                "btnKey": "BPMN_COPY",
                "btnName": "抄送",
                "checked": true,
                "disabled": false
              }
            ]
          }
        }
      },
      "branches": null,
      "property": null
    }
  }
}
