-
How to schedule apex to update related records based on the Parent in Salesforce?
I am trying to design a schedule class which updates the lookup fields on the custom object based on the look up fields selected in Account.
This custom object is related to Account?
I am stuck if I have to choose a for loop or a soql query nested inside the execute method or the schedule class?Please give me some ideas.
Log In to reply.
Popular Salesforce Blogs

How do you Add LWC Component to Action Button?
What is an Action Button in Salesforce? An action button is a button in Salesforce that performs a specific action or set of actions when…

Learn All About Data Security in Salesforce
So, as we know in today's business world, data is everything. Nowadays, Companies rely on it to make informed decisions, analyze customer behavior, and stay…

Protect your Data with Data Classification in Salesforce
Happy Cybersecurity Awareness Month (CSAM)! Did you know that the loss of critical, and often sensitive, information can severely impact the profitability and innovation of your…
Popular Salesforce Videos
How to Find out Who Deleted a Record in Salesforce
Salesforce administrators can determine who deleted a record by looking at the Recycle Bin or querying for deleted records via API. Watch this video and…
How Can Salesforce Marketing Cloud Help You Grow Your Business Exponentially?
Salesforce Marketing Cloud can help you take your marketing to the next level by providing an all-in-one platform that helps you strategize across multiple channels.…
Demystifying OAuth and Connected Apps
Often times, the first thing an application needs to do is authenticate its users. Developers building integrations with Salesforce need a simple and secure way…