Apex Batch Class - Salesforce Development

LeeAndro

Trusted Editor
Trusted Editor
Joined
Jun 11, 2022
Messages
215,110
Reaction score
1
Points
38
54360b93-6235-4275-a413-5b97ce23aa76.png

Published 11/2022Created by Sandeep CMP4 | Video: h264, 1280x720 | Audio: AAC, 44.1 KHz, 2 ChGenre: eLearning | Language: English | Duration: 32 Lectures ( 3h 25m ) | Size: 1.48 GB

Real project scenario to understand the application of Apex Batch class
How and when to use Batch class.​

What is batch size and how does it effect the batch class processing
How to check the batch job status.
what is job chaning and how can we use to our advantage.
when does Apex flex queue coming into picture.
Best practices of Batch class and consideration.

Basic understanding of Saleforce Apex
curiosity to learn. to unlock whole new opportunities in async mode of execution.

scenario: you are given a user story to estimate and write the technical design for the next sprint user stories.user story: Users should not be able to save the case record when the product field on the case is of a family laptop and the case reason is blank.you started to estimate the user story and write the technical design for it. Technical design:validation rule on the case object. Estimate:1 story point for writing the validation rule + testing + deploying to the CI org.Since the user story estimation and technical design are completed.  you are about to proceed with other work that was assigned to you. suddenly, you realize that you missed something.wait... now, take a moment and think through what was missing in the technical design and estimate.did you get the answerif you figured out what is the issue. congratulations....if you are still figuring it out. I was in your shoes when I realized what I was missing. It came at a big cost. Last min changes.If you are thinking. enough. tell me what was missing. The answer is the technical design itself. ok. no more suspense. validation rule would stop the user who acts on the record. it can stop the new records if the above conditions are met or if the user edits the old record which satisfies the conditions. For the new records, users would be able to get the information from the end user when creating the case. what about the old case records do we need to correct these records as well if we don't if any user wants to change anything on the records they will get the validation. this would stop them from saving the changes on that records. so what should we do in such cases we need to check with the business/clients on what should happen on the old case records. do we leave it to the user to figure it out If the answer is yes, we are good. if the answer is no. then we need to correct the old case records in the org.Now, if you are wondering there would be a large volume of case records in the org. How do we edit those recordsI am glad that you asked for it. There are two options here. 1) data loading.2) Batch class.Let's review option 1 first. To operate on large volumes of records, we are choosing the Data Loader as an option here. In order to proceed first we need to get the extract of the records that we need to proceed then prepare the csv file with the correction on the necessary fields. followed by updating this file again to the Data Loader for the update operation on the case object. Looks cool rightyes, it is. we can do this approach. if we have one sandbox and prod org. what if there are 5 sandboxes and prod as part of your application/deployment lifecycleIt would lead to 3 problems. 1) Resource bandwidth.2) delayed lines for project delivery. 3) manual effort and may cause manual errors.if you are thinking is there any alternative yes, there is one. what is itBatch class. what are the advantages of ityou write the code once. it can be used in others org as well. all it takes is to just deploy the code to the orgs you need it and run it using two lines of code.  FYI... we can put that into one line as well. :Dif you are looking for where can i get started in learning the batch class you are at the right place. we had made this course covering from basics to the most advance sections in batch class concepts including all the best practices that you need to keep in mind while writing your batch class. In fact, who would want their code to fail in higher orgs and get rejected in the code reviewif you are reading this line, I hope you had made a decision. I am eagerly waiting for you inside the course. Let's together jump on this roller-coaster ride. see you on the other side!!!

Bners and intermediate salesforce admins/developers.

HomePage:
Code:
https://www.udemy.com/course/apex-batch-class-salesforce-development/



DOWNLOAD
Code:
https://1dl.net/4d6w6ncug0z6/xkGEWOpl__Apex_Batch.part1.rar.html
https://1dl.net/ttnissrapy57/xkGEWOpl__Apex_Batch.part2.rar.html



 

Feel free to post your Apex Batch Class - Salesforce Development Free Download, torrent, subtitles, free download, quality, NFO, Dangerous Apex Batch Class - Salesforce Development Torrent Download, free premium downloads movie, game, mp3 download, crack, serial, keygen.

Top Bottom