ScriptInstance Data Type

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

Example

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