Support activation of Datapacks records after deployment

Hierarchy

  • RecordActivator

Constructors

Properties

logger: Logger
salesforceService: SalesforceService
chunkSize: number = 100

Default chunk size for record updates during activation.

Methods

  • Activate the specified records of 1 specified.

    Parameters

    • records: Iterable<DeployedDatapackDeploymentRecord>

      Iterable array of records which will be activated; if the recordType is

    • activator: ((record) => Record<string, unknown>)

      Activator function executed for each record

    • Optional options: {
          chunkSize?: number;
          recordType?: string;
      }
      • Optional chunkSize?: number
      • Optional recordType?: string

    Returns Promise<void>