Private
Readonly
definitionPrivate
Readonly
definitionPrivate
Readonly
loggerPrivate
Readonly
lwcPrivate
Readonly
remoteMethod that is called to activate a single the script
Private
Readonly
salesforcePrivate
Readonly
scriptActivates the specified OmniScript, creates the compilation record in Salesforce and sets the OmniScript to active. Any existing active compilation records will be deleted.
OmniScript to activate
Optional
options: OmniScriptActivationOptionsExtra options that control how the script is activated
Activate the LWC component for the specified OmniScript regardless of the script is LWC enabled or not.
Id of the OmniScript for which to activate the LWC component
Optional
options: OmniScriptLwcDeployOptionsGet the LWC component bundle as metadata package for the specified OmniScript
Optional
options: OmniScriptLwcCompileOptionsDeployable Metadata package
Private
deletePrivate
deleteDeletes the OmniScriptDefinition__c records for the specified OmniScript
Generate the LWC component bundlen for the specified OmniScript definition and deploy it to the org.
Definition of the OmniScript to deploy
Optional
options: OmniScriptLwcDeployOptionsExtra options that control how the script is activated
Private
deployOptional
options: OmniScriptLwcCompileOptionsPrivate
deployOptional
options: OmniScriptLwcDeployOptionsPrivate
localPrivate
reactivateOptional
options: OmniScriptActivationOptionsPrivate
remotePrivate
scriptOptional
options: { Optional
usePrivate
serializeSerializes and split the OmniScript definition into chunks of max 131072 characters to avoid the 131072 character limit of the Salesforce String field.
The split ensures that chunks will never start or end with a whitespace character as whitespace characters are trimmed when saving the record.
JSON definition of the OmniScript
Array of strings containing the serialized OmniScript definition
Private
standardPrivate
updateOptional
extraActivationValues: Record<string, any>Private
updatePrivate
upsert
Activates an OmniScript creating compilation records in Salesforce and sets the script state to active.