
I have a question in regards to Cross Objects Field Update.
My scenario is the following: I have created a master-detail relationship between Contacts and my custom Object and I would need to have the email, phone, name and address populated from the Contacts.
I have tried and tried and I still cannot make this work. Do I need a trigger or I can do it through the cross object field update?
Million thanks!
7 Antworten
ok lets start over, the Contact is the master right?
Anyway, create a WR and choose the child as an object.
Choose "Created, and every time it's edited",
Choose "criteria are met" and choose the contact name not equal to Blank.
In theory in your case the criteria doesn't matter as long as it is always true since you want it to fire all the time.
Now save the rule.
Now create 4 Actions - "Add Workflow Action" - New Field Update, one per field you are going to update.
Field to update is Child: Email
set that equal to Parent: Email
Just test one field first and the rest should be the same.
Last be sure to "Activate" the rule otherwise nothing will happen :-)
if done right, everytime the child is saved the 4 child fields are updated with the Parent fields.
Thx