-
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
Automate Your Operations by Integrating Salesforce and Jira
Automation is possible in nearly all business processes. In fact, according to Gartner, 89% of general accounting operations and 72% of financial controlling and external…
All You Need to Know About the Salesforce Service Cloud
In this Blog, we will take a look at the topic of Service Cloud in Salesforce. As Customer service has a greater impact on the…
What is the Salesforce Guidance Center in 2023? | The Trailhead Guide
The Guidance Center is a one-stop shop for learning and enablement in the flow of work. Learning is both recommended to users automatically by Salesforce…
Popular Salesforce Videos
How to get a job in Salesforce industry or ecosystem? (For freshers) | 7 Step Guide
The most common question that is asked: How do I get a job? I have learned Salesforce and I know how to create applications on…
Salesforce: Learn Workflow Rules in Just 10 min
Workflows in Salesforce are a fantastic way to automate certain business processes. You can create a rule, and based on certain criteria that you set,…
Basic Concepts of Salesforce | Salesforce Training Online
This video session on Salesforce online training covers the basic concepts of Salesforce and will give intense knowledge on Salesforce at a very high level.…