Optional
creatingContainer: ContainerPrivate
Readonly
connectionPrivate
Readonly
containerPrivate
Readonly
loggerPrivate
Readonly
objectPrivate
Readonly
schemaPrivate
Readonly
specPrivate
afterThe DatapackDeployment object representing the deployment.
An iterable of DatapackDeploymentRecord objects representing the deployed records.
A Promise that resolves when all the tasks are completed.
Private
afterEvent handler running after the deployment
Private
beforeExecutes the necessary actions before deploying a record.
If the disableTriggers
option is set in the deployment, it will disable triggers.
If the deployment is cancelled, the method will return early.
It then runs the beforeDeployRecord
spec function with the provided arguments.
The DatapackDeployment object.
An iterable of DatapackDeploymentRecord objects.
A Promise that resolves when the actions are completed.
Private
beforeEvent handler running before the deployment
Private
beforeExecutes the necessary actions before retrying a record deployment.
The DatapackDeployment object.
An iterable of DatapackDeploymentRecord objects.
Create new Datapack deployment
Datapacks to deploy
Optional
options: DatapackDeploymentOptionsOptional
cancellationToken: CancellationTokenDatapack deployment object
Creates and starts a deployment returning the DatapackDeployment object which contains results of the deployment.
Datapacks to deploy
Optional
options: DatapackDeploymentOptionsoptions passed to the deployment
Optional
cancellationToken: CancellationTokenoptional cancellation token
Private
evalPrivate
filterPrivate
getPrivate
handlePrivate
runRun a datapack spec function and await the result
Event/function type to run
Private
setPrivate
verifyVerifies the data deployed to the org matched the local data for the specified list of fields. This is especially useful for GlobalKey fields that are updated by a Vlocity before update/insert trigger making it impossible to update the global key when Vlocity triggers are enabled.
records
Array of field names to compare
Performs additional tasks after the deployment of a datapack record. If triggers are disabled in the deployment options, it sets the Vlocity trigger state to true. Verifies the deployed field data for specific fields. Runs the 'afterDeployRecord' spec function with the provided arguments.