function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Saravana RavikumarSaravana Ravikumar 

WITHOUT Apex code , I want to send an outbound message after checking a record criteria. Besides Flow builder , which is best to choose between 'Approval process' and 'Entitlement process' for sending an outbound message WITHOUT an Apex code?

Arun Kumar 1141Arun Kumar 1141
Hi Sarvana,

If you want to send an outbound message without writing any Apex code, both Approval Processes and Entitlement Processes are viable options depending on your specific requirements. Let's look at each process and their use cases:

1. Approval Processes:
   - Approval Processes are primarily used for submitting records for approval, where a designated approver or group of approvers review and take action on the record.
   - While Approval Processes have built-in functionality to send approval-related emails, they do not provide a direct way to send outbound messages.
   - However, you can utilize the "Outbound Messages" feature within an Approval Process to send an outbound message by leveraging a Workflow Outbound Message action.
   - You'll need to configure the Workflow Rule and associated Outbound Message action to trigger at the appropriate approval step.

2. Entitlement Processes:
   - Entitlement Processes are used to define and manage support entitlements for customer service cases.
   - Entitlement Processes have built-in functionality to send emails as part of the process, including email templates and escalation rules.
   - You can configure the Entitlement Process to send an outbound message by utilizing the "Send an Email" action within the process.
   - You can customize the email template to include the required information and recipients for the outbound message.

Considering your specific requirement of sending an outbound message without Apex code, the Entitlement Process might be a better fit since it provides built-in email functionality, including the ability to send outbound messages.

However, keep in mind that the choice between Approval Processes and Entitlement Processes ultimately depends on the context and purpose of your use case. Consider the specific business requirements and process flow to determine which process aligns best with your needs.


if this helps you mark it as a best answer,
thanks!