ScriptInstance Data Type

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

Example

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