ScriptInstance Data Type

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

Example

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