Monitor the MergeUp Batch Apex JobLearn how to monitor the Apex Batch Job that runs merges for the MergeUp Batch.Jan 20, 2025Knowledge
InformationArticle BodyPrerequisites Have created and started a MergeUp Batch. For information on creating MergeUp Batches, see: Generating Multiple Documents Based on a ReportGenerating Multiple Documents Using FlowsGenerating Multiple Documents Using Apex For information on starting MergeUp Batches, see: Starting a MergeUp BatchStarting Multliple MergeUp BatchesScheduling a MergeUp Batch to Start Later Overview Once your MergeUp Batches are started, the Apex Job Id is populated in the field mergeup__Apex_Job_Id__c. This Id allows you to query additional information about the Apex Job and its progress using SOQL. Steps With a MergeUp Batch started, go to Setup and enter "Apex Jobs" in the Quick Find box. Select Apex Jobs. On this page, you can see all the AsyncApexJobs that are currently running in the org. The one running for your MergeUp Batch will have the Apex Class"Batch_Merge". From this page you can see the overall status of the batch, as well as the number of completed batches, and the total number. Refresh the page to see the latest data about the batch. Notes You can also use the Apex Job Id to query details about the job from AsyncApexJob. mergeup__Apex_Job_Id__c contains the Id of the AsyncApexJob only while it is running. When it finishes, the field is cleared. For more information about this object and the fields available on it, see AsyncApexJob | Object Reference for the Salesforce Platform | Salesforce Developers Next Steps Learn how to monitor a MergeUp Batch in the UI: Monitor a MergeUp Batch.TitleMonitor the MergeUp Batch Apex JobURL NameMonitor-the-MergeUp-Batch-Apex-Job