When a user changes to closed won in a opportunity record, they will not be able to save it until they have added at least one related contact record . is it possible in validation rule ?
hi Prasanth, you can't achieve this by validation rule. if you want then you have to write a trigger on opportunity object before update and you can fire addError message when if there is no record of contact in opportunity object.
don't forget to mark it as best answer if it helps you. Thank you
you can't achieve this by validation rule. if you want then you have to write a trigger on opportunity object before update and you can fire addError message when if there is no record of contact in opportunity object.
don't forget to mark it as best answer if it helps you.
Thank you
Try Below Trigger Please Mark It As Best Answer If It Helps
Thank You!
Hi,
You can use the validation rule as the below.
Thank You
If There's Already Contact Lookup You Can Use ConatctId If Not And You've Made Contact Lookup It Should Be Contact__c
Please Close Your Query By Marking It As Best Answer If It Helps So It Helps Others In Future Also
Thank You!