You are here:
OM Standard: Optimize Large Order Submission with OrderSubmitMode
If large orders are failing when submitted, a possible solution is to change the OrderSubmitMode custom setting from Synchronous to Queueing.
When OrderSubmitMode is set to Queueing, OM processes decomposition and orchestration plan composition separately, rather than try to complete them both at the same time. This separation results in smaller processes and fewer failures.
Queueing mode uses more asynchronous calls than the default Synchronous mode. These calls are currently limited to 250,000 per day for most orgs (if your org has more than 1250 licenses, then more calls are allowed). If you're concerned about how many calls your org is making, consider leaving Order SubmitMode on its default of Synchronous. For details about Salesforce governor limits, see: Execution Governors and Limits
- In the Lightning environment, click the Settings gear icon, then click Setup.
- In the Quick Find field, type Custom Settings, then click Custom Settings.
- In the Custom Settings page, find XOMSetup and click the Manage link next to it. If you don't see XOMSetup, then click the X from among the letters at the top of the screen to filter out most of the options.
- Next to OrderSubmitMode, click the Edit button.
- In the XOM Setup Edit window, in the Value field, type Queueing, then click Save.





