强制删除流程实例

  • SDK调用
WorkflowEngineClient client = new WorkflowEngineClient();
client.setUrl(URL+"/engine");  //引擎客户端
String procId = "20181229000001";
Result result = client.forceDeleteWorkflow(procId);		
String resultStr = JSONObject.fromObject(result,getJsonConfig()).toString();
System.out.println(resultStr);
  • CURL 调用
curl -X DELETE "URL/engine/forceDeleteWorkflow" -H "accept: application/json" -H "Content-Type: application/json" -d "procId=20181229000001"
  • 响应示例
{
  "message": "成功",
  "statusCode": 200,
  "success": true
}