ScriptInstance Data Type

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

Example

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