Skip to content
Main Menu
  • Home
  • About Me
  • SALESFORCE
  • Lightning
  • Lightning Web Component
    • Visual Studio Code Tips
  • Trailhead
  • Certification
  • Video
  • Contact
  • YouTube Channel
  • Linkedin
  • Twitter
  • FaceBook
  • GooglePlus

TheBlogReaders.com

Salesforce.com Lightning and Lightning Web Component – Learn & Share

  • Home
  • About Me
  • SALESFORCE
  • Lightning
  • Lightning Web Component
    • Visual Studio Code Tips
  • Trailhead
  • Certification
  • Video
  • Contact

Trigger

  • Home
  • SALESFORCE
  • Trigger
APEX SALESFORCE Trigger

How to write apex test class to cover the apex trigger addError() message

March 13, 2020March 13, 2020 Sakthivel Madesh0 Comments

How to write apex test class to cover the apex trigger addError() message This post to describes to cover the addError() message from Apex Triggers, if we added any custom logics to validate and through the error message from apex…

Read More
APEX SALESFORCE SOQL Trigger

how to identify the logged in salesforce org either sandbox or production

November 27, 2019 Sakthivel Madesh0 Comments

how to identify the logged in salesforce org either sandbox or production This blog post to describe about to identiy the salesforce org type either sandbox or production. we have multiple workaround inorder to identify the salesforce org type and…

Read More
APEX SALESFORCE Salesforce Customization Trigger

Salesforce Apex Test class for an Opportunity record delete Trigger

September 25, 2019September 25, 2019 Sakthivel Madesh0 Comments

Salesforce Apex Test class for an Opportunity record delete Trigger Use Case: -Test Class coverage for the Opportunity Record delete trigger -Test Class coverage to AddError -Test Class coverage to Non System admin profile Main Apex Trigger: Not allowed to…

Read More
APEX SALESFORCE Salesforce Customization Trigger

How to avoid recursive trigger execution in Salesforce

October 16, 2018 Sakthivel Madesh0 Comments

How to avoid recursive trigger execution in Salesforce Apex Trigger – Apex Trigger is a piece of code that executes Before and After a record is Inserted, Updated, Deleted in a Database. What is Recursion in Trigger? Recursion is when same code…

Read More
APEX SALESFORCE Salesforce Customization Salesforce.com Trigger

How to get the Contact Id while creating the Task using Apex Trigger

April 17, 2017April 17, 2017 Sakthivel Madesh0 Comments

How to get the Contact Id while creating the Task using Apex Trigger while creating the task to contact, its possible to get the contact information from Task WhoId or WhatId field and below is the example code: Set<id> contactIds…

Read More
APEX SALESFORCE Salesforce Customization Salesforce.com Trigger Triggers

update a related record value using Map and Apex class?

April 17, 2017 Sakthivel Madesh0 Comments

update a related record value using Map and Apex class? Example 1: How to create and update existing contact records using map and apex class global void execute(Database.BatchableContext BC, List<sObject> scope) { List<Data_Feeds__c> feeds = (List<Data_Feeds__c>) scope; Set<String> lastNames =…

Read More
APEX SALESFORCE Salesforce Configuration Salesforce.com SOQL SOSL Trigger

How to find the current records RecordType Name in Apex Trigger

January 6, 2017 Sakthivel Madesh0 Comments

How to find the current records RecordType Name in Apex Trigger In Apex Trigger, we can’t able to retrive the RecordType Name from Trigger context. but its possible with the below ways: for Example in Account Record Trigger: trigger accountTrigger…

Read More
Interview Questions and Answers Salesforce Salesforce Interview Questions Technical Interview Questions and Answers Trigger

Best practices for Salesforce Apex Triggers

December 11, 2015December 11, 2015 Sakthivel Madesh0 Comments

Best practices for Salesforce Apex Triggers? Test your Triggers against bulk records. Your Apex Triggers should always work well for a single record as well as bulk insert/updation using data loader or import wizard or any other tools. Do not…

Read More
APEX SALESFORCE Trigger

Automatically convert Lead to Account, Contact and Opportunity using Apex Trigger

September 25, 2015December 2, 2015 Sakthivel Madesh0 Comments

Automatically convert Lead to Contact using Apex Trigger Requirement: Automatically convert Lead to Account, Contact and Opportunity using Apex Trigger if the Lead Status = Open For Example: Here we declare our trigger in Lead Obejct and name it as…

Read More
APEX SALESFORCE Salesforce Configuration Salesforce Customization Trigger

How to Choose to achive the Field Updates either using Workflow or Trigger

April 20, 2015December 2, 2015 Sakthivel Madesh0 Comments

How to Choose to achive the Field Updates either using Workflow or Trigger: Best practise to always use a workflow whenever possible and only use triggers when you cannot accomplish something using a standard workflow rule (field update). here some…

Read More

Posts navigation

1 2 Next

Salesforce MVP

SALESFORCE MVP 2020

SFDC Learn & Share – YouTube

SFDC Learn & Share - YouTube

Virtual Salesforce Events/Meetup

Virtual Salesforce Events/Meetup

SALESFORCE CONSULTING & IMPLEMENTATION

Techforce Services

Salesforce MVP 2020 – Success Journey

Salesforce MVP 2020 – Success Journey Blog Series

TRAILHEAD PROFILE

https://trailblazer.me/id?uid=sakthivel

Answer Leader @ Salesforce Community

Sakthivel Madesh Answer Leader Trailblazer Community

Top Salesforce Blog 2020 – SFBEN

Top Salesforce Blog 2020 - SFBEN

Top Salesforce Expert – masonfrank

Sakthivel Madesh

Best Salesforce Blogs for Developers – inspire planner

Best Salesforce Blogs for Developers - inspire planner

Salesforce Developer Blog

 Salesforce Developer Blogs

Advertisement




Salesforce Success Cloud – Tweet

Meet, @msakthivel83 A Sr. Salesforce Developer at Techforce Services, 15x Salesforce Certified, and 5x Trailhead Ranger!

We are grateful for all that this #SalesforceAnswersLeader brings to the #TrailblazerCommunity.

See how he tackles this question about Activites: https://t.co/f1RerAHPaC pic.twitter.com/qFIWdZNklB

— Salesforce Success Cloud (@asksalesforce) March 19, 2019

SFDC Hero of the Month – July 2019

Hey Guys, Its time to announce the results of #SFDC hero of the month July and he is none other than the most reputed and highly dedicated Mr. Shakthivel. Congrats @msakthivel83 #SalesforceOhana #saasnic #sfdc #Congratulations pic.twitter.com/cc5xizcH3n

— SFDC Hero of the Month (@SFDC_HERO) July 31, 2019

#Congratulations @msakthivel83 #Hero ofthe month #july2019

LinkedIn - https://t.co/HaFEWEiGHm
Twitter - https://t.co/0qfxfr0Neq
Facebook Group - https://t.co/wACNc9HX2N
Blogger https://t.co/IduJi7Uwcq
YouTube - https://t.co/szGuHZaXXg pic.twitter.com/aQv1rH4GdF

— SFDC Hero of the Month (@SFDC_HERO) July 31, 2019
  • About Me
  • Contact

Copyright © All rights reserved.

Blorigan by Axle Themes