-
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
How to Create Relationship between fields in Salesforce using Look up and Master Detail
In database we link one table with another table using join statements,Primary Key and Foreign Key so that we can access data of one table…
Explore the True Potential of Hyperforce in Salesforce
Introduction to Hyperforce With Hyperforce, Salesforce application development services can swiftly and securely grow with the help of public cloud partners, thanks to a new…
Popular Salesforce Videos
How to Use Salesforce for Project Management
When you think of CRM software, "Salesforce" is probably one of the first words that comes to mind. But Salesforce can do so much more…
Summer Internship | Career with Salesforce
This Summer, dive into the ocean of Salesforce with S2 Labs Apply for the much-awaited S2 Labs Summer Internship Program and start accelerating your career…
Data Import: Clean and Prepare Your Data Using Excel | Salesforce
Cleaning and Preparing Data Using Excel covers several features and functions that will make quick work of getting your data files ready for import. Vlookup,…