Loading
Salesforce now sends email only from verified domains. Read More
Industries Order Management
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Run a Background Job to Fix Stuck Orchestration Plans

          Run a Background Job to Fix Stuck Orchestration Plans

          In rare cases, an orchestration plan has completed all its tasks, but is still in the In Progress state. You can run a background job that marks such plans as complete.

          When XOMOrchestrationPlanCompletionBatchJob runs, Order Management finds and completes any orchestration plans that have completed all their tasks, but are still in an In Progress state.

          1. Click The Setup icon and select Developer Console.
          2. From the Debug menu, click Open Execute Anonymous Window.
          3. Paste in the following code, adjusting the batch size for your needs. The batch size is the second parameter in the executeBatch() method:
            public String cron = '0 0 12 1/1 * ? *';
            vlocity_cmt.XOMOrchestrationPlanCompletionJob scJob= new 
            vlocity_cmt.XOMOrchestrationPlanCompletionJob();
            System.schedule('XOMOrchestrationPlanCompletionJob Scheduler', cron, scJob);
          4. Click Execute.
           
          Loading
          Salesforce Help | Article