-
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
8 Ways How CRM Aligns Marketing And Sales
Although sales and marketing are two independent departments within an organization, most likely they work together to achieve a common goal, i.e., finding leads and…
Understanding Salesforce Permissions
Permissions in Salesforce can be dizzying. Between licenses, profiles, and permission sets, there are multiple ways permissions can be assigned, and multiple considerations you should…
Move Towards A Subscription-Based Business Model | Salesforce Guide
Subscription-based business models have grown significantly over the past few years. In fact, Forbes states that eCommerce-based businesses used this model and doubled their growth…
Popular Salesforce Videos
Send WhatsApp and Save Chat using Lightning Component Salesforce | Salesforce Tutorials
In this video you will learn to send #WhatsApp using Lightning Component Salesforce. Also we will create a custom object to store the chat. Features…
Dreamforce 2020 FAQs | Dreamforce To You | Salesforce Event
As the COVID-19 situation continues to evolve, questions around virtual Dreamforce 2020 continue to increase and that's why we've gone ahead and answered all the…
Driving Gamified Interactions on Salesforce Communities With ScoreNotch | Use-Cases
A Salesforce-native, Lightning-ready solution, ScoreNotch enables you to dynamically gamify Salesforce communities. Watch this video to learn more about its use-cases. For more, please visit…