ScriptInstance Data Type

Implemented Interfaces
IReferenceEntity, Serializable
Properties
name data type constraints description
historized boolean  
sourcingRoles array of string  
reuse boolean  
appendGeneratedCode boolean  
auditable Auditable  
parentEntity BusinessEntity  
codeChanged boolean  
scriptInstanceCategory ScriptInstanceCategory  
scriptErrors array of ScriptInstanceError  
executionRoles array of string  
referenceDescription string  
disabled boolean  
auditableFields array of AuditableFieldHistory  
code string required, max size: 255, min size: 1
notified boolean  
descriptionOrCode string  
referenceCode string  
parentEntityType object  
error boolean  
sourceTypeEnum ScriptSourceTypeEnum  
transient boolean  
descriptionAndCode string  
description string max size: 255, min size: 0
id number  
active boolean  
script string  
version number  

Example

{
  "historized" : true,
  "sourcingRoles" : [ "...", "..." ],
  "reuse" : true,
  "appendGeneratedCode" : true,
  "auditable" : {
    "created" : 12345,
    "creator" : "...",
    "lastUser" : "...",
    "updater" : "...",
    "updated" : 12345,
    "lastModified" : 12345
  },
  "parentEntity" : {
    "referenceDescription" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "OTHER",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "STATUS",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ],
    "parentEntity" : { },
    "codeChanged" : true,
    "description" : "...",
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "transient" : true,
    "referenceCode" : "...",
    "version" : 12345,
    "code" : "...",
    "parentEntityType" : { },
    "id" : 12345,
    "notified" : true,
    "appendGeneratedCode" : true,
    "descriptionAndCode" : "...",
    "historized" : true,
    "descriptionOrCode" : "..."
  },
  "codeChanged" : true,
  "scriptInstanceCategory" : {
    "auditable" : {
      "created" : 12345,
      "creator" : "...",
      "lastUser" : "...",
      "updater" : "...",
      "updated" : 12345,
      "lastModified" : 12345
    },
    "parentEntity" : {
      "referenceDescription" : "...",
      "auditableFields" : [ { }, { } ],
      "parentEntity" : { },
      "codeChanged" : true,
      "description" : "...",
      "auditable" : { },
      "transient" : true,
      "referenceCode" : "...",
      "version" : 12345,
      "code" : "...",
      "parentEntityType" : { },
      "id" : 12345,
      "notified" : true,
      "appendGeneratedCode" : true,
      "descriptionAndCode" : "...",
      "historized" : true,
      "descriptionOrCode" : "..."
    },
    "code" : "...",
    "auditableFields" : [ {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "STATUS",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    }, {
      "fieldName" : "...",
      "notfiable" : true,
      "auditType" : "OTHER",
      "historized" : true,
      "previousState" : { },
      "currentState" : { },
      "historable" : true,
      "notified" : true
    } ],
    "referenceCode" : "...",
    "parentEntityType" : { },
    "description" : "...",
    "descriptionAndCode" : "...",
    "appendGeneratedCode" : true,
    "descriptionOrCode" : "...",
    "referenceDescription" : "...",
    "transient" : true,
    "codeChanged" : true,
    "notified" : true,
    "historized" : true,
    "id" : 12345,
    "version" : 12345
  },
  "scriptErrors" : [ {
    "columnNumber" : 12345,
    "lineNumber" : 12345,
    "sourceFile" : "...",
    "message" : "..."
  }, {
    "columnNumber" : 12345,
    "lineNumber" : 12345,
    "sourceFile" : "...",
    "message" : "..."
  } ],
  "executionRoles" : [ "...", "..." ],
  "referenceDescription" : "...",
  "disabled" : true,
  "auditableFields" : [ {
    "fieldName" : "...",
    "notfiable" : true,
    "auditType" : "STATUS",
    "historized" : true,
    "previousState" : { },
    "currentState" : { },
    "historable" : true,
    "notified" : true
  }, {
    "fieldName" : "...",
    "notfiable" : true,
    "auditType" : "STATUS",
    "historized" : true,
    "previousState" : { },
    "currentState" : { },
    "historable" : true,
    "notified" : true
  } ],
  "code" : "...",
  "notified" : true,
  "descriptionOrCode" : "...",
  "referenceCode" : "...",
  "parentEntityType" : { },
  "error" : true,
  "sourceTypeEnum" : "JAVA_CLASS",
  "transient" : true,
  "descriptionAndCode" : "...",
  "description" : "...",
  "id" : 12345,
  "active" : true,
  "script" : "...",
  "version" : 12345
}