ScriptInstance Data Type

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

Example

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