2019.2

Table Of Contents
event.preventDefault();
if (!c.checkSessionValid()) return;
if (!AIOConfig) {
alert("Invalid All-In-One
Configuration!\n\nPlease enter a valid " +
"combination of input fields, and try
again.");
return;
}
var getFinalResult = function () {
var result = ($resultastxt.prop("checked")) ?
"getResultTxt" : "getResult";
/* Get Result of Operation */
$.ajax({
type: "POST",
url:
"/rest/serverengine/workflow/print/" + result + "/" + operationId
})
.done(function (response, status, request)
{
if (request.getResponseHeader("Content-
Type") === "application/octet-stream")
response = "<<OCTET-STREAM
FILE DATA>>";
c.displayHeading("Operation Result");
c.displaySubResult(outputDesc,
response);
})
.fail(c.displayDefaultFailure);
};
/* Process All-In-One (JSON) */
$.ajax({
type: "POST",
url:
"/rest/serverengine/workflow/print/submit",
data: JSON.stringify(AIOConfig),
contentType: "application/json"
Page 301