Hands on 2 - auto update child records

There are several business use cases where a customer wants to update child records based on some criteria, for example, auto-updating all related opportunity to Closed Lost if an account is updated to Inactive. To achieve these types of business requirements, you can use an Apex trigger. You can also achieve these types of requirements using the following methods:

  • Process Builder

  • A combination of Flow and Process Builder

  • A combination of Flow and the Inline Visualforce page on the account detail page

We will use Process Builder to solve these types of problems. Let's start with a business requirement.

Let's look at a business scenario. Alice Atwood is working as a system administrator with Universal ...

Get Learning Salesforce Visual Workflow and Process Builder - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.