Private
Readonly
definitionPrivate
Readonly
definitionPrivate
Readonly
loggerPrivate
Readonly
lookupPrivate
Readonly
lwcPrivate
Readonly
remoteMethod that is called to activate a single the script
Private
Readonly
salesforceActivates the specified OmniScript, creates the OmniScriptDefinition__c records in Salesforce and sets the OmniScript to active. Any existing active OmniScriptDefinition__c 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: OmniScriptActivationOptionsPrivate
deletePrivate
deleteGenerate the LWC component bundlen for the specified OmniScript definition and deploy it to the org.
Definition of the OmniScript to deploy
Optional
options: OmniScriptActivationOptionsExtra options that control how the script is activated
Private
deployPrivate
deployGet the LWC component bundle as metadata package for the specified OmniScript
Id of the OmniScript
Deployable Metadata package
Private
localPrivate
reactivateOptional
options: OmniScriptActivationOptionsPrivate
remotePrivate
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
updateOptional
extraActivationValues: Record<string, any>Private
updatePrivate
upsert
Activates an OmniScript creating compiled OmniScriptDefinition__c records in Salesforce and sets the script state to active.