Posts

Showing posts with the label Job Chaining

Salesforce Asynchronous Apex: How to chain Queueable Apex Job

Image
  Looking for Salesforce Training & HandsOn Projects? Trailblazer Profile  |  LinkedIn  |  Salesforce Blog  |  Facebook  |  Youtube Channel  |  WhatsApp Community Queueable Apex is just another flavor of Async Programming implementation offered by the Salesforce Platform.   You can refer to my earlier post on Queueable Job to start fresh with the concept: Salesforce Asynchronous Apex: How to implement Queueable Apex Job In this article, we will explore how to chain one Queueable Job from another to accomplish a series of tasks in a predictable manner.   We can start with a simple demo to explain the concept in the following steps:     Step-1: The source of data for this demo will  “Accounts”  Object as shown below Step-2: We need to build the “SOQL” statement that we can use to query the data from Queueable Job. We can quickly build & test the SOQL using “Workbench” . This step will...