| Methods / Process Definition Methods | |
REST
GET
Retrieves the released process definition ID by a specified process definition name.
https://[domain]:[port]/AgilePointServer/Workflow/GetReleasedPID/[procDefName]
https://[domain]:[port]/AgilePointService/Workflow/GetReleasedPID/[procDefName]
| Name | Description |
|---|---|
procDefName |
|
$("#btnGetReleasedPID").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Workflow/
GetReleasedPID/ProcessMapApproval",
type: "GET"
});
});
public String GetReleasedProcessDefinitionID(String procDefName) {
String URI = "http://mydomain:9011/AgilePointServer/Workflow/GetReleasedPID/"
+ procDefName;
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GETMethod(URI);
}
public string GetReleasedPRocDef()
{
string URI = "http://mydomain:9011/AgilePointServer/Workflow/
GetReleasedPID/EmailTest";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.GetData(URI);
}
The ID for the released process definition.
{
"GetReleasedPIDResult":"6C7029387DB64567BFFA0F625D4314BE"
}
AgilePoint BPMS v5.0 R2 and higher