Table of Contents
Introduction: #
The formula function called GETORGID has been introduced, which enables the retrieval of the Org ID. This function provides a useful solution for determining the Salesforce instance from which a request message is being sent to a receiver. The retrieved org ID information can be utilized to send a response message back to the caller via a synchronous call.
Pre-Requisite:- #
- Create an Integration.
- Create a Message type.
- Create an Adapter Outbound e.g. SAP CPI.
- Create an Outbound Interface -> Add Message Type -> Add Adapter
- Do Mapping
Screenshot:
- Query filter on the ‘SOQL Query for filter sObject’ section for executing callout.
Screenshot:
- Click Manual Process for Callout
Screenshot:
- After Executed Callout, we get the Message Monitoring
Screenshot:
Result: The Salesforce Org ID will be generated into the payload. Please look at the screenshot below.
Here is the Payload: