2021.1

Table Of Contents
}
})
.fail(c.displayDefaultFailure);
};
/* Process Output Creation (By Job Set) (JSON) */
$.ajax({
type: "POST",
url:
"/rest/serverengine/workflow/outputcreation/" + configId,
data: JSON.stringify(c.plainIDToJson
(jobSetId, createOnly)),
contentType: "application/json"
})
.done(function (response, status, request) {
var progress = null;
operationId = request.getResponseHeader
("operationId");
$submitButton.prop("disabled", true);
$cancelButton.prop("disabled", false);
c.displayStatus("Output Creation Operation
Successfully Submitted");
c.displayResult("Operation ID", operationId);
var getProgress = function () {
if (operationId !== null) {
/* Get Progress of Operation */
$.ajax({
type: "GET",
cache: false,
url:
"/rest/serverengine/workflow/outputcreation/getProgress/" +
operationId
})
.done(function (response, status,
request) {
if (response !== "done") {
if (response !== progress)
Page 389