-
How can i write a Salesforce trigger for below given scenario ?
write a trigger on opportunity which gives an error if both the conditions are true:
condition1 : if opportunity contact role is empty
AND
condition 2: if opportunity stage is changed to 'closed Won'
Log In to reply.
Popular Salesforce Blogs
Alert Triggers in Twilio!
What are Alert Triggers? Alert Triggers are nothing but alerts via webhook or mail you when number of error events cross the Trigger Value on…
Salesforce Flow - A Brief Guide You Should Check
In today’s world we all want things to get done in less time, we all want speed. While handling a client, company wants to give…
Salesforce Classic vs. Lightning: A Glance at Comparison
Salesforce Classic and Salesforce Lightning are two versions of the Salesforce CRM. If you are not aware, Salesforce provides CRM (customer relationship) entities with tools…
Popular Salesforce Videos
Salesforce Account-Based Marketing Demo
Salesforce Account-Based Marketing is a partnership aligning Marketing, Sales, and Service around a single view of your top accounts. A partnership which reesults in long…
How to import data from Sage ERP to Salesforce - Part 1
Greytrix offers GUMU™ integration for Salesforce with Sage ERP systems - a best-of-breed solution for organizations to enhance their customer interaction. With Salesforce and Sage…
Powering Dynamic Gamification on Salesforce Communities With ScoreNotch
Gamifying your online community helps you drive highly-engaging user experiences. While you can host your community on Salesforce Experience Cloud, there are limitations with regard…