设置流程传阅项已读

  • SDK调用
WorkflowEngineClient client = new WorkflowEngineClient();
client.setUrl(URL+"/engine");  //引擎客户端
String procId = "20181229000001";
int taskId = 2;
Result result = client.readWorkflowCirculatedItem(procId,taskId);
String resultStr = JSONObject.fromObject(result,getJsonConfig()).toString()
System.out.println(resultStr);
  • CURL 调用
curl -X  POST  "URL/engine/readWorkflowCirculatedItem"  -H "accept: 
application/x-www-form-urlencoded;charset=utf-8" -H "Content-Type: application/json" -d \
"procId=20181229000001&taskId=2"
  • 响应示例
{
  "message": "设置成功",
  "statusCode": 200,
  "success": true
}