Loading

OmniStudio Integration Procedure Batch Action Skips VlocityScheduledJob with Ignore Frequency

Data pubblicazione: Sep 8, 2026
Descrizione

When using the OmniStudio VlocityBatchFramework to execute Integration Procedure batch actions through a VlocityScheduledJob__c record, setting the Frequency__c field to Ignore (or None) causes the job to be silently skipped. No batch is started and no AsyncApexJobId is returned.

This behavior occurs because the framework's base SOQL query explicitly excludes records with Frequency__c set to Ignore or None at the query level. As a result, the job record is never loaded into the execution pipeline, regardless of whether the invocation originates from the Apex Scheduler or a Batch Action within an Integration Procedure.

Risoluzione

To allow a batch job to execute when Frequency__c is set to Ignore, configure the Batch Action to override the VlocityBatchFramework's default frequency exclusion behavior.

  1. Open the Integration Procedure containing the Batch Action that invokes the VlocityScheduledJob__c record.
  2. Confirm that the referenced VlocityScheduledJob__c record has Frequency__c set to Ignore.
  3. Select the Batch Action and open the Batch Options configuration.
  4. Add the following key-value pair:
    • Key: ignoreFrequency
    • Value: true
  5. Save and activate the Integration Procedure.

Setting ignoreFrequency to true instructs the VlocityBatchFramework to process the scheduled job despite the Ignore frequency setting. On the next invocation, the batch job should be enqueued successfully and an AsyncApexJobId should be returned.

Numero articolo Knowledge

005459298

 
Caricamento
Salesforce Help | Article