| Methods / Process Definition Methods | |
REST
POST
Checks in the process definition to the AgilePoint Server and returns the process definition identifier. This method accepts a string with the updated process definition in XML format.
https://[domain]:[port]/AgilePointServer/Workflow/CheckinProcDef
https://[domain]:[port]/AgilePointService/Workflow/CheckinProcDef
| Name | Description |
|---|---|
| None | Not Applicable |
| Name | Description |
|---|---|
xml |
|
$("#btnCheckinProcDef").click(function () {
var JSONObject = { xml: '<process template XML string>' };
$.ajax({
url: "https://mydomain:9011/AgilePointServer/Workflow/CheckinProcDef",
data: JSON.stringify(JSONObject)
});
});
public String CheckinProcDef(String processtemplateXML) {
String URI = "http://mydomain:9011/AgilePointServer/Workflow/CheckinProcDef";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
JSONObject postData = new JSONObject();
try {
postData.put("xml", processtemplateXML);
return ops.POSTMethod(URI, postData.toString());
} catch (JSONException e1) {
e1.printStackTrace();
}
return "";
}
public string CheckinProcDef(string procxml)
{
string URI = "http://mydomain:9011/AgilePointServer/Workflow/CheckinProcDef";
string jsonRequestData = "{\"xml\":" + procxml + "}";
HTTPOperations ops = new HTTPOperations(domain, this.userName,
password, appID, locale);
return ops.PostXml(URI, jsonRequestData);
}
A new process definition ID.
{
GetReleasedPIDResult: "String content"
}
AgilePoint BPMS v5.0 R2 and higher