Big Idea or Enduring Question: How do you notify the lead owner when someone removes a lead from the Sales Engagement Cadence? Objectives: After reading this blog, you’ll be able to: Understand the Change Data Capture Understand ActionCadenceTracker object Subscribe to Change Events Using an Apex Trigger Call an Autolaunched
Category: Apex
Mastering the Art of Scheduling Batch Class in Apex
Big Idea or Enduring Question: How can the System.schedule() method be utilized for scheduling an Apex Batch job? Objectives: After reading this blog, you’ll be able to: Setup scheduled job though the Salesforce setup Understand the function and significance of the System.schedule() method. Learn step-by-step how to schedule an Apex
Set Created Date For Test Class sObject in Apex
Big Idea or Enduring Question: How can the Created Date be set for an sObject within a test context? Objectives: After reading this blog, you’ll be able to: Gain a comprehensive understanding of the setCreatedDate method related to Apex tests Set the created date for the test class record and
Check if a String is Null, Empty or Blank in Apex
Big Idea or Enduring Question: How to check in Apex if a Text field is null, empty or blank? Objectives: After reading this blog, you’ll be able to: Differentiate between null, empty and blank Check if a text field field is null Check if a text field field is empty
Dynamically Access Custom Labels in Apex
Big Idea or Enduring Question: How to access custom label in Apex dynamically? Objectives: After reading this blog, you’ll be able to: Access custom label in Apex dynamically Access custom label in Apex dynamically for a language and much more Business Use case Ben Halpern is a Jr. Salesforce Developer
Calculate Overall Code coverage in Salesforce
Big Idea or Enduring Question: How to calculate overall code coverage in Salesforce? Objectives: After reading this blog, you’ll be able to: Compile all test classes Estimate your organization’s code coverage Use SOQL via Tooling API to calculate code coverage and much more Business Use case Isabella Stewart is working
Query Records by List of Ids in Flow
Big Idea or Enduring Question: How can you automatically delete open tasks related to opportunity and quote(s) when an opportunity is marked as closed lost? Objectives: After reading this blog post, the reader will be able to: Understand @InvocableMethod and InvocableVariable Annotation Get sObject Type in Apex code Pass the
Remove Rich Text Formatting Using Flow
Big Idea or Enduring Question: How do you automatically remove HTML markup from the rich text area field and return plain text? Objectives: After reading this blog, you’ll be able to: Understand how to use stripHtmlTags sting method Understand how to check Text Area (Rich) ISNULL or ISBLANK Call an