0

In a scenario where an account has a number of contacts. When a field on the account changes, need to propagate that value to all related contacts. I know it can be done with a visual flow and Apex trigger but not Process Builder. Could I use platform event to watch for that value change on the account and publish account Id and new value so related contacts can see it and update themselves by using a Process Builder?

In other words, can I utilize platform events to update children from a parent?

1

You definitely can update child records when the parent changed via Process Builder.

When you create an action in PB make sure to select the "Select a record related to the Account" option in the Record Type section.

enter image description here

Then select Contacts and define new field values for the records you update.

enter image description here

Now you are all set.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.