Creates a new revision of the specified existing Custom Form. The returned object contains attributes, inputs or outputs, and duplicated embedded objects, but does not contain attached documents, actions, notes, and messages.
Note: The revision can only be created from a standalone Custom Form. The status of the form (formStatus
) must be APPROVED and the workflow status (workflowStatus
) must be either APPROVED or NO_APPROVAL_REQUIRED.
OK
{ }
{- "response": {
- "node": "pricefx-cluster-app-frontend-8bdb777df-dn9xf",
- "data": [
- {
- "version": 17,
- "typedId": "406.CFO",
- "uniqueName": "CFO-390-REV-3",
- "label": "JJ_02",
- "parentTypedId": null,
- "typeId": 41,
- "userGroupEdit": null,
- "userGroupViewDetails": null,
- "module": "QUOTING",
- "results": null,
- "inputs": [
- {
- "name": "input",
- "label": null,
- "lookupTableId": null,
- "url": null,
- "type": "USERENTRY",
- "value": 22,
- "valueHint": null,
- "readOnly": null,
- "filter": null,
- "parameterGroup": null,
- "required": true,
- "labelTranslations": null,
- "addUnknownValues": null,
- "typedId": null,
- "alwaysEditable": null,
- "inputs": [ ],
- "parameterConfig": {
- "resultName": "input",
- "resultLabel": "input"
}, - "formattingOptions": { },
- "valueOptions": null
}
], - "outputs": [
- {
- "resultName": "output",
- "resultLabel": "input + 1",
- "result": 23,
- "excludeFromExport": false,
- "warnings": null,
- "alertMessage": null,
- "alertType": "RED",
- "displayOptions": null,
- "formatType": "NUMERIC",
- "suffix": null,
- "resultType": null,
- "cssProperties": null,
- "userGroup": null,
- "resultGroup": null,
- "overrideValueOptions": null,
- "overrideAllowEmpty": false,
- "labelTranslations": null,
- "overridable": false,
- "overridden": false,
- "resultDescription": null
}
], - "calculationStatus": 0,
- "submitDate": null,
- "workflowStatus": "DRAFT",
- "formStatus": "DRAFT",
- "submittedByName": null,
- "approvedByName": null,
- "deniedByName": null,
- "createdByName": "ondrej.tesar",
- "lastUpdateByName": "ondrej.tesar",
- "approvalRequiredEmailAttachments": [ ],
- "renderInfo": null,
- "serverMessagesExtended": [ ],
- "createDate": "2023-03-02T10:40:50",
- "createdBy": 2147490187,
- "lastUpdateDate": "2023-03-02T10:40:50",
- "lastUpdateBy": 2147490187,
- "attribute1": "Approved No Approval Required CFO revision",
- "attribute2": null,
- "attribute3": null,
- "attribute4": null,
- "attribute5": null,
- "attribute6": null,
- "attribute7": null,
- "attribute8": null,
- "attribute9": null,
- "attribute10": null,
- "attribute11": null,
- "attribute12": null,
- "attribute13": null,
- "attribute14": null,
- "attribute15": null,
- "attribute16": null,
- "attribute17": null,
- "attribute18": null,
- "attribute19": null,
- "attribute20": null,
- "attribute21": null,
- "attribute22": null,
- "attribute23": null,
- "attribute24": null,
- "attribute25": null,
- "attribute26": null,
- "attribute27": null,
- "attribute28": null,
- "attribute29": null,
- "attribute30": null,
- "customFormTypeObject": null,
- "supersededBy": null,
- "prevRev": "CFO-390-REV-2",
- "rootUniqueName": "CFO-390"
}
], - "status": 0
}
}