Methods / Methods for Process Instances |
REST
POST
Deletes a process instance. This method removes the specified process instance and all the associated data from the database, such as work items, email, and activity instances associated with this process instance. It may take some time to complete this transaction.
https://[domain]:[port]/AgilePointServer/Workflow/DeleteProcInst/[processInstanceID]
https://[domain]:[port]/AgilePointService/Workflow/DeleteProcInst/[processInstanceID]
Name | Description |
---|---|
processInstanceID |
|
$("#btnDeleteProcInst").click(function () { $.ajax({ url: "https://mydomain:9011/AgilePointServer/Workflow/ DeleteProcInst/248685A175F54C12A9A80353798B4508", }); });
public String DeleteProcessInstance(String processInstanceID) { String URI = "http://mydomain:9011/AgilePointServer/Workflow/DeleteProcInst/" + processInstanceID; HTTPOperations ops = new HTTPOperations(domain, this.userName, password, appID, locale); JSONObject postData = new JSONObject(); return ops.POSTMethod(URI, postData.toString()); }
public string DeleteProcId() { string URI = "http://mydomain:9011/AgilePointServer/Workflow/ DeleteProcInst/577BDA85E1A94F6084D73037FC91D4A8"; HTTPOperations ops = new HTTPOperations(domain, this.userName, password, appID, locale); return ops.POSTMethod(URI, ""); }
None.
The response body is empty.
AgilePoint BPMS v5.0 R2 and higher