Blogs by Apex

In scenarios where tasks are required to be executed on AWS or Heroku, and secure data transmission from Salesforce Apex is essential, employing RabbitMQ proves to be a viable solution. This approach is particularly beneficial when the processing on Heroku or AWS needs to occur asynchronously. By leveraging RabbitMQ, there's an option to circumvent the necessity of creating a REST API on Heroku or AWS, streamlining the communication process and enhancing overall system efficiency.In scenarios where tasks are required to be executed on AWS or Heroku, and secure data transmission from Salesforce Apex is essential, employing RabbitMQ proves to be a viable solution. This approach is particularly beneficial when the processing on Heroku or AWS needs to occur asynchronously. By leveraging RabbitMQ, there's an option to circumvent the necessity of creating a REST API on Heroku or AWS, streamlining the communication process and enhancing overall system efficiency.

An effective method for launching an asynchronous process in Heroku using RabbitMQ from Salesforce (Apex).

In scenarios where tasks are required to be executed on AWS or Heroku, and secure data transmission from Salesforce Apex is essential, employing RabbitMQ proves to be a viable solution. This approach is particularly beneficial when the processing on Heroku or AWS needs to occur asynchronously. By leveraging RabbitMQ, there's an option to circumvent the necessity of creating a REST API on Heroku or AWS, streamlining the communication process and enhancing overall system efficiency.

Jan 1st, 2024

Salesforce OAuth Setup and Use Example: A Comprehensive GuideSalesforce OAuth Setup and Use Example: A Comprehensive Guide

Salesforce OAuth Setup and Use Example: A Comprehensive Guide

Salesforce OAuth is a powerful tool for authenticating and authorizing access to Salesforce resources. In this blog post, we'll walk through the process of setting up Salesforce OAuth and provide an example of using it with Node.js. With a little bit of setup and some code, you can integrate Salesforce OAuth into your Node.js application and start accessing Salesforce resources securely.

Apr 4th, 2023

Mastering Advanced SOQL Queries in Salesforce: Tips and TricksMastering Advanced SOQL Queries in Salesforce: Tips and Tricks

Mastering Advanced SOQL Queries in Salesforce: Tips and Tricks

Salesforce Object Query Language (SOQL) is a powerful tool that enables developers to retrieve data from Salesforce databases. While basic SOQL statements are relatively straightforward, there are several advanced techniques that can greatly enhance the effectiveness and efficiency of your queries. In this blog, we will dive into some advanced SOQL features, such as subqueries, relationship queries, aggregate functions, and more. By the end of this article, you will have a solid understanding of how to leverage these techniques to optimize your Salesforce data retrieval and reporting.

Apr 4th, 2023

Apex Enum With Switch case exampleApex Enum With Switch case example

Utilizing Apex Enum with Switch Case: A Salesforce Developer's Guide

Just an example of enum with switch case in Apex salesforce. This is single class which having references to other which may not included here. Purpose of posting this blog with single class to represent the syntax and use of enums in switch. I searched on web but couldn't find any example so posted.

Oct 10th, 2022

Formatting a Apex Time into String (in apex class) Formatting a Apex Time into String (in apex class)

Formatting a Apex Time into String (in apex class)

Since as on today we don’t have any inbuilt method which can format this type of String “ 14:00:00.000Z” like “2:00 PM” So wrote a snippet for this and may be useful.

Jun 6th, 2022