Content Standard GuideTitleBC: What is the Function of the JobGenerator and JobStarter Apex Classes?URL NameBC-What-is-the-Function-of-the-JobGenerator-and-JobStarter-Apex-ClassesInformationQuestionHelp QuestionWhat do the JobGenerator and JobStarter jobs do?How does the asynchronous processing framework handle these mass actions? Product AreaHelp Product AreaOrganization Setup & Administration Multi-Revenue BillingEnvironmentHelp EnvironmentMulti-Revenue Billing (Billing Central) AnswerHelp AnswerThe asynchronous processing framework in Billing Central is designed to handle mass actions, such as Apply Change Requests, by splitting work into manageable units to enable parallel processing, failure recovery, and progress monitoring. The processing flow performs the following steps: A service call, such as BillingService.runAsync, triggers the processJobGenerator creates discrete Job__c records to define the work unitsJobStarter initiates the processing chainJobProcessorQueueable handles the execution of the tasksJobChecker monitors the status and progress of the jobs This framework allows the system to spawn multiple scheduled jobs to ensure large change requests are processed efficiently without hitting platform limits. Additional NotesHelp Additional NotesFor more information, see Asynchronous Processing Job Fields in Help.Release VersionHelp Release VersionSummer 2023
Was this article helpful?00Choose a general reason-- Choose a general reason --FeedbackUpload FilesUpload FilesOr drop filesSubmit