You need to sign in to do that
Don't have an account?
Shari Schultz
Apex Trigger: Picklist Value on Contact Updates Checkbox on Custom Object
Hi everyone. I am trying to create an apex trigger with which a specific picklist criteria chosen on the Contact Object updates a checkbox on a custom object.
If Contact Object = Specific Field = "Completed", then
Custom Object = Checkbox = "True"
I'm have trouble getting the code right for the specific picklist option to update the checkbox.
Any thoughts?
If Contact Object = Specific Field = "Completed", then
Custom Object = Checkbox = "True"
I'm have trouble getting the code right for the specific picklist option to update the checkbox.
Any thoughts?
Relationship between contact and custom object? Please share the code which you have tried.
Thanks!
Try Below Trigger Please Mark It As Best Answer If It Helps
Thank You!
This can be achieved using process builder if the custom object is a child of Contact.
Thanks!
Greeting!
First, Define the relationship between Contact Object and Custom Object.
After that use the Trigger on Contact for After Update.
Use SOQL to fetch contacts with its related Custom object (if a Relationship exists between objects).
You can get Help from this :
if you have any query please comment.
---------------
If you find your Solution then mark this as the best answer to close this question.
Thank you!
Regards,
Suraj Tripathi