You need to sign in to do that
Don't have an account?
Rishu
Flow to update Primary Contact field from true to false on any contact
Hi Team,
I have requirement to update Primary Contact using Record Based Trigger.
The flow should update the Primary Contact field from "true" to "false" on a contact record if another Contact record related to an account is edited with Primary Contact field equals to true.
I have requirement to update Primary Contact using Record Based Trigger.
The flow should update the Primary Contact field from "true" to "false" on a contact record if another Contact record related to an account is edited with Primary Contact field equals to true.
Can you confirm if my understanding is correct. If we are trying to edit the contact primary contact field from False to true then we need to search all the other contacts for that account and make that field to False.
Thanks,
Yes that's correct
If a contact record where Primary contact = true exist on account and user tries to edit and existing contact record where Primary contact was set as false and changes the value to 'true'
I have answered the similar question earlier and that solution worked. Can you try implementing the same.
https://developer.salesforce.com/forums?id=9062I000000bmtn
If this solution helps, Please mark it as best answer.
Thanks,