-
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
Scan Business cards to Outlook in seconds
Ever juggled with the misery of collecting business cards & typing them into your Outlook account? Look no further, with Bric APP business card scanner you can scan…
Salesforce Sales Cloud Features for Smart Management
If you want to centralize your sales data, automate workflows, connect your team members, and use your data to power more deals, then yes. Sales…
How to Write a Test Class in Salesforce? The Salesforce Developer Guide
In any development, testing is a very important step as it tells us about how good the development has been done and for that we…
Popular Salesforce Videos
Introduction to Cloud Pages in Salesforce Marketing Cloud
Cameron Robert from Datarati introduces the Cloud Pages function in Salesforce Marketing Cloud and talks through the different Cloud Page types and how they can be…
Salesforce Health Cloud
Salesforce Health Cloud is a health IT CRM system that incorporates doctor-patient relationship and record management services. Through Private Communities, patients can view care plans,…
Google Chrome Extensions for Salesforce
In this video we are going to learn about the various Google chrome extensions which can be useful while we are working inside the Salesforce…