-
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
From Keyword-Based Knowledge Bases to AI-First Portals: Why Customer Support Needs to Evolve
Customer expectations are at an all-time high. Whether they are students trying to access enrollment details, patients asking about billing, or policyholders checking their claim…
AI Buddy – An Einstein Assistant is Live Now
AI Buddy is Salesforce Manage Package App. AI Buddy is a friend of Einstein. It allows you to work with Einstein in admin style. You…
Explore The Application Network | Salesforce Developer Guide
Let’s Find Why Is Integration So Challenging? The Fourth(4th) technological revolution is upon us. Connectivity across people, applications, data, and therefore the Internet of Things…
Popular Salesforce Videos
GDPR & Telephony Consenting & Forgetting In Salesforce
The big noise in the market right now is GDPR, the General Data Protection Regulation. This is the new European rule for data protection which…
Build Better with Salesforce Architects
A Salesforce Architect is a trusted advisor and leader who partners with business stakeholders and executives to design a vision and architecture for a solution…
Searching for Records In Salesforce
You can search globally across all of Salesforce for matching records to your search term. Or you can search within a specific object. You will…