Private
Readonly
lookupScript specification to get the dependent scripts for
Array of Salesforce Ids of the Active OmniScripts that depend on the specified script specification
Get the active version for the specified OmniScript by type, subtype and language.
script definition or id of the script to get
Optional
extraFilter: Partial<OmniScriptRecord>optional extra filter to apply to the lookup
Active version of the OmniScript or undefined when there is no active version
Get all activated template records for the specified template names
Names of the templates
Array of templates records
Lookup the OmniScript definition for the specified input.
OmniScript definition or id of the script to get.
Returns the active script if found, otherwise the script with the highest version-number.
Private
getGet all the OmniScript elements for the specified OmniScript; includes both active and inactive elements.
OmniScript definition or id of the script to get the elements for
Optional
extraFilter: Partial<OmniScriptElementRecord>Get the type, subtype and language for the OmniScript specified by script id.
To get all fields use getScripts, to get all versions currently deployed use getScriptVersions.
Optional
scriptId: stringid of the script to get information on
Optional
extraFilter: Partial<OmniScriptRecord>optional extra filter to apply to the lookup
OmniScriptVersionDetail with script type, subtype, language, isActive, version and isLwcEnabled
Get all active and inactive versions for the specified OmniScript.
This will only query the fields required to identify the script and its version; use getScripts to get a full script record with all fields.
Optional
script: string | OmniScriptSpecificationDefinition or id of the script to get
Optional
extraFilter: Partial<OmniScriptRecord>optional extra filter to apply to the lookup
Array of OmniScript details records
Get all active and inactive record for the specified OmniScript with all fields.
Optional
script: string | OmniScriptSpecificationDefinition or id of the script to get
Array of OmniScript details records
Private
getOptional
script: string | OmniScriptSpecificationOptional
fields: readonly (keyof OmniScriptRecord)[]Optional
extraFilter: Partial<OmniScriptRecord>
Get Active OmniScripts Ids that depend on the script identified by the specified script specification.