| Methods / Methods for Process Instances | |
REST
POST
Archives a process instance based on a specified process instance identifier by moving the set of process instance records from the current AgilePoint Database into the AgilePoint Archive Database. The process instance records and all of the associated data are then deleted from the AgilePoint Database. The process instance to be archived must be completed or canceled.
https://[domain]:[port]/AgilePointServer/Workflow/ArchiveProcInst/[procInstID]
https://[domain]:[port]/AgilePointService/Workflow/ArchiveProcInst/[procInstID]
| Name | Description |
|---|---|
procInstID |
|
$("#btnArchiveProcInst").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Workflow/
ArchiveProcInst/0008D8ACD70B4D38955F0777C5433963"
});
});
public void ArchiveProcInst(){
String URI = "https://mydomain:9011/AgilePointServer/Workflow/
ArchiveProcInst/0008D8ACD70B4D38955F0777C5433963";
HTTPOperations ops = new HTTPOperations(domain, userName,
password, appID, locale);
JSONObject postData = new JSONObject();
ops.POSTMethod(URI, postData.toString());
}
public string ArchiveProcInst()
{
string URL = "https://mydomain:9011/AgilePointServer/Workflow/
ArchiveProcInst/0008D8ACD70B4D38955F0777C5433963";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URL);
}
None.
The response body is empty.
AgilePoint BPMS v5.0 R2 and higher