Loading

Industries Order Management: UNABLE_TO_LOCK_ROW Exception is occurring while executing XOMOrchestrationSchedulingExecutor OOTB Class

Publish Date: May 28, 2026
Description

This article explains why Salesforce Industries Order Management orchestration items fail with UNABLE_TO_LOCK_ROW errors in vlocity_cmt.XOMOrchestrationSchedulingExecutor and how to resolve the resulting stuck orchestration items. 

Trigger conditions:

  1. The XOM scheduler runs at a short interval (for example, SchedulerJobTimeIntervalMins set very low) while a large orchestration plan is in flight.

Resolution

PFB the details of Possible RCA of this issue:-

Cause 1: XOM scheduler concurrency too aggressive for the plan size

  1. Navigate to Setup > Custom Settings > XOM Setup [vlocity_cmt__XOMSetup__c] > Manage.
  2. Open the record and set SchedulerJobTimeIntervalMins [vlocity_cmt__SchedulerJobTimeIntervalMins__c] to 30 for small plans, or 70 for large plans (more than ~200 orchestration items).
  3. Set SchedulerRealtimeUpdatesEnabled [vlocity_cmt__SchedulerRealtimeUpdatesEnabled__c] to false.
  4. Leave SchedulerEnabled [vlocity_cmt__SchedulerEnabled__c] set to true otherwise set it to false to stop the scheduling executor entirely.
  5. Click Save.
  6. Navigate to the XOM Administration tab and click SCHEDULE JEOPARDY MANAGEMENT JOB to re-register the batch job with the new interval.

 

Knowledge Article Number

005385053

 
Loading
Salesforce Help | Article