ScriptInstance Data Type

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

Example

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