Methods / Methods for Process Instances |
REST
POST
Merges 2 or more process instances into one process instance.
These process instances should be based on the same process definition.
https://[domain]:[port]/AgilePointServer/Workflow/MergeProcInsts
https://[domain]:[port]/AgilePointService/Workflow/MergeProcInsts
Name | Description |
---|---|
None | Not Applicable |
Name | Description |
---|---|
instruction |
$("#btnMergeProcInsts").click(function () { var JSONObject = { MergedProcessInstance:{ CustomAttributes:[{ Name:"/pd:myFields/pd:username", Value:"Administrator" }, { Name:"/pd:myFields/pd:dept", Value:"IT Admin" } ], ProcessInstanceID:"008493358D1A419EA7094B7A3A58929D", ProcessInstanceName:"ProcessMapApproval-008493358D1A419EA7094B7A3A58929D", WorkObjectID:"00777ED0FE3E4AB49C44E7E5EDAA9656", WorkObjectInfo:"00777ED0FE3E4AB49C44E7E5EDAA9656t" }, MergingProcessInstanceIDs:["060404057EC543A48C16FEC3F7FF8374","061761ADBEA2450A8F70538C495D9773"] }; $.ajax({ url: "https://mydomain:9011/AgilePointServer/Workflow/MergeProcInsts", data: JSON.stringify(JSONObject), }); });
The process instance ID of the merged process instance.
"String content"
AgilePoint BPMS v5.0 R2 and higher