Can I pass records to domain as parameter if Domain and records related to Same object? #395
-
Hi Team, I have a requirement to update records from the same object using common value in a field. Example, I have to update all the contacts with the same address if a Boolean field is checked on one contact(contact update). For this , Is it ok to set all the contacts with same address to contacts domain and pass Contact record(which updated and worked as trigger point) as a parameter to the Contacts Domain? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Which contact record would you like to update? All the contact with the same linked account, or only the contacts which are handled by the trigger? You might also want to take a look at this example, which has some overlap with what you are looking for. It copies the Country from the Account to all the related Contact records. |
Beta Was this translation helpful? Give feedback.
Hi @maheshsomineni
Which contact record would you like to update? All the contact with the same linked account, or only the contacts which are handled by the trigger?
You might also want to take a look at this example, which has some overlap with what you are looking for. It copies the Country from the Account to all the related Contact records.