-
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
Send Rich Text Emails Using Salesforce Flow
You may now send rich text emails via Salesforce Flows, which was introduced in the Spring '21 release. Previously, when sending an email using Flow's…
Salesforce Integration with Google Calendar | All You Need to Know
Salesforce is a popular Customer Relationship Management (CRM) platform that businesses use to manage their sales, marketing, and customer support activities. Salesforce provides various integration…
How To Choose A Perfect Salesforce Consultant?
Salesforce consulting is a usual repetition among most industries now. This is since the persons in the sales section of any occupational are perhaps the…
Popular Salesforce Videos
Salesforce Confetti | Salesforce Tutorial
In this video, we show you how you can add a confetti cannon to existing paths or create them from scratch. Surprise your staff and…
How To Create Workflow Rules In Salesforce | Salesforce Workflow Rules
This video walks through the steps to create a Workflow Rule within the Process Automation section of Lightning Settings in Salesforce. Get answers to the…
Work.com – Release Readiness LIVE, Summer '20 | Salesforce
Work.com is an online set of applications, resources, and content designed to help the entire workplace get back to business after the Covid-19 crisis. This…