| Methods / Methods for Activity Instances | |
REST
GET
Retrieves all the status of all activity instances for a specified process instance.
https://[domain]:[port]/AgilePointServer/Workflow/GetActivityInstStatus/[procInstID]
https://[domain]:[port]/AgilePointService/Workflow/GetActivityInstStatus/[procInstID]
| Name | Description |
|---|---|
procInstID |
|
$("#btnGetActivityInstStatus").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Workflow/
GetActivityInstStatus/0FD3088F40B640D4AFE41AEEBDAE914B",
type: "GET"
});
});
public String GetActivityInstStatus(String procInstID) {
String URI = "http://mydomain:9011/AgilePointServer/Workflow/GetActivityInstStatus/"
+ procInstID;
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GETMethod(URI);
}
public string GetActivityInstStatus()
{
string URI = "http://mydomain:9011/AgilePointServer/Workflow/
GetActivityInstStatus/EBA75C4F8FE64FC7ABC45B5522D3E4BA";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GetData(URI);
}
An array of KeyValue objects that holds pairs of activity definition names and statuses. The statuses can be Passed, Active, Pending, Activated, Canceled, or null.
{
"GetActivityInstStatusResult": [
{
"Key": "Start",
"Value": "Passed"
},
{
"Key": "Stop",
"Value": "Passed"
}
]}
AgilePoint BPMS v5.0 R2 and higher