You need to sign in to do that
Don't have an account?
Siva Admin
Could someone help.
I'm a newly learning SF. While doing challenge (Create a process to update child record when the parent is updated using process builder) in trailhead, following error popping up. Kindly help.
"Challenge Not yet complete... here's what's wrong:
An update to an account record failed to update the mailing address fields of all child contact records. Make sure that the process is correct and that it is activated."
"Challenge Not yet complete... here's what's wrong:
An update to an account record failed to update the mailing address fields of all child contact records. Make sure that the process is correct and that it is activated."
Please follow the screenshots to complete the challenge.
Step1: Setup > Create > Workflows&Approvals > Process Builder >New > Name your Process
Choose Object and Specify When to Start the Process > Account & Start the process > when a record is created or edited
Step 2: Define Criteria for this Action Group > Criteria Name > IsAddressChanged & Criteria for Executing Actions > (Select)Filter conditions are met. Next Set Filter Conditions as shown in screenshot
Step3 : IMMEDIATE ACTIONS > Select Action Name as "Update Records" > Action Name > Update Contact Records > Object (SELECT==> [Account].Contacts) as shown in screen shot & Set Object Variables (Field mapping)
Step4: Activate the process
Please mark this as best answer if this solution is helpful to you.
Best Regards,
Deepthi
First, thanks for your reply.
I have a few doubts.
1) Why have you selected "AND " condition? Becoz even if a single address-related field in account record gets changed, the same should updated in child contacts.
If we select "AND" condition, only if all the address field gets changed, then only the child contacts would be updated, na?
2) And action should be performed only if Contact addresses are not in sync with the Account they belong to, meaning contact address right not 'does not equal ' condition should be met. But here you have selected "No Criteria - Just update the records" instead of selecting "Meet records meet all conditions". Is my understanding right?
Ignoring all these, even after doing what exactly you said. The following error coming up:
Challenge Not yet complete... here's what's wrong:
An update to an account record failed to update the mailing address fields of all child contact records. Make sure that the process is correct and that it is activated.
OR(ISCHANGED([Account].ShippingStreet), ISCHANGED([Account].ShippingCity), ISCHANGED([Account].ShippingState), ISCHANGED([Account].ShippingPostalCode), ISCHANGED([Account].ShippingCountry))
The "No Criteria" shouldn't make a difference in this case.
Try the "Formula evaluates to True" option (or change your "AND" to "OR" in the examples above) and see if that works for you.