| Methods / Methods for Process Instances | |
REST
GET
Retrieves multiple attributes of a process instance.
https://[domain]:[port]/AgilePointServer/Workflow/GetProcInstAttrs/[processInstanceID]
https://[domain]:[port]/AgilePointService/Workflow/GetProcInstAttrs/[processInstanceID]
| Name | Description |
|---|---|
processInstanceID |
|
| Name | Description |
|---|---|
| DefID | The ID of the process definition. |
| DefName | The name of the process definition. |
| ProcInstName | The name of the process instance. |
| Status | The current status of the process instance. |
| SuperProcInstID | The parent process instance ID. |
| workObjectID | The ID of the work object. |
| StartDate | The date and time when the process instance was started. |
| DueDate | The date that the process instance is expected to be complete |
| LastModifiedDate | The date and time that the last modification was made to the process instance. |
$("#btnGetProcInstAttrs").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Workflow/
GetProcInstAttrs/0FD3088F40B640D4AFE41AEEBDAE914B",
type: "GET"
});
});
public String GetProcessInstanceAttributes(String processInstanceID) {
String URI = "http://mydomain:9011/AgilePointServer/Workflow/GetProcInstAttrs/"
+ processInstanceID;
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GETMethod(URI);
}
public string GetProcInstAttrs()
{
string URI = "http://mydomain:9011/AgilePointServer/Workflow/
GetProcInstAttrs/8252EAE9EFF445C5B395DA70363E8232";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GetData(URI);
}
Array of NameValue objects that holds the values of all the requested attributes.
{
"GetProcInstAttrsResult": [
{
"Name": "SourceProcInstID",
"Value": ""
},
{
"Name": "TargetProcInstID",
"Value": ""
},
...
{
"Name": "WorkObjectInfo",
"Value": ""
}
]}
AgilePoint BPMS v5.0 R2 and higher