Methods / Methods for Process Instances |
REST
GET
Retrieves a single attribute for a specified process instance.
https://[domain]:[port]/AgilePointServer/Workflow/GetProcInstAttr/[processInstanceID]/[attributeName]
https://[domain]:[port]/AgilePointService/Workflow/GetProcInstAttr/[processInstanceID]/[attributeName]
Name | Description |
---|---|
processInstanceID |
|
attributeName |
|
$("#btnGetProcInstAttr").click(function () { $.ajax({ url: "https://mydomain:9011/AgilePointServer/Workflow/ GetProcInstAttr/0FD3088F40B640D4AFE41AEEBDAE914B/DueDate", type: "GET" }); });
public String GetProcessInstanceAttribute(String processInstanceID, String attributeName) { String URI = "http://mydomain:9011/AgilePointServer/Workflow/GetProcInstAttr/" + processInstanceID + "/" + attributeName; HTTPOperations ops = new HTTPOperations(domain, this.userName, password, appID, locale); return ops.GETMethod(URI); }
public string GetProcInstAttr() { string URI = "http://mydomain:9011/AgilePointServer/Workflow/ GetProcInstAttr/8252EAE9EFF445C5B395DA70363E8232/DueDate"; HTTPOperations ops = new HTTPOperations(domain, this.userName, password, appID, locale); return ops.GetData(URI); }
Returns the KeyValue for the attribute associated with the process instance as a name-value" pair.
{ "GetProcInstAttrResult": { "Name":"DueDate", "Value":"1\/17\/2014 3:55:00 PM" } }
AgilePoint BPMS v5.0 R2 and higher