ScriptInstance Data Type

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

Example

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