流程实例工作项是否允许跳转
- SDK调用
WorkflowEngineClient client = new WorkflowEngineClient();
client.setUrl(URL+"/engine"); //引擎客户端
String procId = "20181229000001";
int taskId = 2;
Result result = client.enableSkipWorkflow(procId, taskId);
String resultStr = JSONObject.fromObject(result,getJsonConfig()).toString();
System.out.println(resultStr);
- CURL 调用
curl -X GET "URL/engine/enableSkipWorkflow?procId=20181229000001&taskId=2" -H "accept: application/json"
- 响应示例
{
"message": "成功",
"statusCode": 200,
"success": true
}