| Methods / Process Definition Methods | |
REST
POST
This method is used to manage process definition versioning by setting the process definition status to CheckedOut based on a given process definition ID. Only process definitions with the status of Released can transition into the CheckedOut status.
https://[domain]:[port]/AgilePointServer/Workflow/CheckoutProcDef/[processTemplateID]
https://[domain]:[port]/AgilePointService/Workflow/CheckoutProcDef/[processTemplateID]
| Name | Description |
|---|---|
processTemplateID |
|
$("#btnCheckoutProcDef").click(function () {
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Workflow/
CheckoutProcDef/C769BA234EFD421B8B95A525B972E511",
});
});
public String CheckoutProcDef(String processTemplateID) {
String URI = "http://mydomain:9011/AgilePointServer/Workflow/CheckoutProcDef/"
+ processTemplateID;
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
JSONObject postData = new JSONObject();
return ops.POSTMethod(URI, postData.toString());
}
public string CheckoutProcDef()
{
string URI = "http://mydomain:9011/AgilePointServer/Workflow/
CheckoutProcDef/6E1259372F89448CA220718128ECB018";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.POSTMethod(URI);
}
The process definition, in XML format, that has been checked out.
"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>
\u000d\u000a<?wfmc-xpdl xmlns=\"http:\/\/www.wfmc.org\/2002\/XPDL1.0\"
xmlns:xpdl=\"http:\/\/www.wfmc.org\/2002\/XPDL1.0\"
xsi:schemaLocation=\"http:\/\/www.wfmc.org\/2002\/XPDL1.0\"?>
\u000d\u000a<!--Process Definition, Copyright 2003-2004
Ascentn Corporation, All Rights Reserved.-->\u000d\u000a
<ProcessDefinition>...<\/ProcessDefinition>"
AgilePoint BPMS v5.0 R2 and higher