ScriptInstance Data Type

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

Example

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