Tag Archives: Apex Trigger

Salesforce Flows vs. Apex Triggers: Making the Right Choice for Your Business Needs

There is a long-standing debate between Flows vs. Apex Triggers when it comes to Salesforce automation, but the answer is not straightforward. Both approaches can fulfill business requirements, though some scenarios necessitate the use of code. The challenge arises in complex cases where a Consultant or Architect must determine whether a flow or trigger is… Read More »

Delete apex class or trigger in Salesforce Production Org

It is not possible to directly delete an Apex class or trigger after it has been deployed to production. A quick workaround to delete or disable Apex Class/Trigger is by using eclipse and Force.com IDE. Here are the steps – Download Force.com IDE. Connect to the salesforce production org. Download the apex class/trigger. Open the… Read More »

Invoke Future Methods through Apex Trigger for web service callout

While developing applications in force.com, sometimes we need to consume external web service in apex trigger. But, callouts cannot be made from apex triggers as that restricts database transaction until the callout is completed and the time limit for this is up to 120 seconds.You can find other callout limits here. The only way to… Read More »