修改流程实例工作项处理用户

  • SDK调用
WorkflowEngineClient client = new WorkflowEngineClient();
client.setUrl(URL+"/engine");  //引擎客户端
String procId = "20181229000001";
int taskId = 2;
String userId = "96d994f1-dbd4-4219-a844-a8a1c1a30313";
String userOrgId = "e3d414ea-2393-4306-9bfb-bd4a96f9832a";
//测试
Result result = client.forceUpdateCurrentTaskUser(procId, taskId, userId, userOrgId);
String resultStr = JSONObject.fromObject(result,getJsonConfig()).toString();
System.out.println(resultStr);
  • CURL 调用
curl -X GET "URL/engine/forceUpdateCurrentTaskUser?procId=20190102000006&taskId=4&userId=96d994f1-dbd4-4219-a844-a8a1c1a30313&userOrgId=e3d414ea-2393-4306-9bfb-bd4a96f9832a" -H "accept: application/json"

 注:taskId 可以是一个任务数据集合,可以传入多个

  • 响应示例
{
  "message": "成功",
  "statusCode": 200,
  "success": true
}