ScriptInstance Data Type

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

Example

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