###流程根据id启动
POST {{baseUrl}}/m/api/flow/process/start
Content-Type: application/json

{
  "processDefinitionKey": "process_xw8yhk6g",
  "businessKey": "12321",
  "creator": "admin",
  "formName": "会签流程测试",
  "platformSn": "government-manager",
  "userCode": "admin",
  "variables": {
    "assignee1": "admin",
    "assignee2": "admin",
    "assigneeList":[
      "zhang1",
      "zhang2",
      "zhang3"
    ]

  }
}


###流程 动态表达式
POST {{baseUrl}}/m/api/flow/process/start
Content-Type: application/json

{
  "processDefinitionKey": "process_4zrketpm",
  "businessKey": "12321",
  "creator": "admin",
  "formName": "动态选人流程测试",
  "platformSn": "government-manager",
  "userCode": "admin",
  "variables": {
    "approval": "admin"
  }
}


###流程根据id 获取所有el表达式
POST {{baseUrl}}/m/api/flow/process/getAllProcessInstanceEl
Content-Type: application/json

{
  "processDefinitionKey": "process_xw8yhk6g",
  "businessKey": "12321",
  "creator": "admin",
  "formName": "会签流程测试",
  "platformSn": "government-manager",
  "userCode": "admin"

}


###流程实例 激活与挂起
POST {{baseUrl}}/m/api/flow/process/updateState
Content-Type: application/json

{
  "processInstanceId": "46eb2817-0951-11ec-8011-c25bd865180b",
  "suspensionState": 1
}


###流程根据实例id获取当前进程图片
POST {{baseUrl}}/m/api/flow/process/getImage
Content-Type: application/json

{
  "processInstanceId": "b6eea2f5-0957-11ec-9b0c-c25bd865180b"
}


###终止流程
POST {{baseUrl}}/m/api/flow/process/stop
Content-Type: application/json

{
  "processInstanceId": "b6eea2f5-0957-11ec-9b0c-c25bd865180b"
}

###删除流程
POST {{baseUrl}}/m/api/flow/process/delete
Content-Type: application/json

{
  "processInstanceId": "46eb2817-0951-11ec-8011-c25bd865180b",
  "deleteReason": "测试删除流程"
}



