SK SKYVVA Documentation

1. Different API for the Outbound message processing

This concept is about outbound interface processing. The real-time outbound interface can be done in different ways i.e Using a button, Using trigger, Using the process builder. For outbound processing, we have two categories: Synchronous:- Apex code wait for the response of the HTTP callout. Asynchronous:- Apex code doesn’t wait for the response of the HTTP callout. It can have a response which is an asynchronous response. This response can come at any time. InvokeCallout2() method supports   SAP, SAP-PI, SAP-R/3, SFDC2SAPPI, SOAP, REST adapter types. The response could be a text of JSON, XML, List> based on given flag parameters in CallOutControl and Apex of each adapter handle setting when execute callout.  InvokeCallout2() method support different mode:

  1. SYNC
  2. FUTURE
  3. BATCH
  4. AUTO
We get a real-time response in SYNC mode only. Different API for the inbound message processing:
  1. Invoke callout
2.Invoke callout2
  1. Invoke callout3
  2. Different way how to invoke outbound interface
  3. Process Builder:
  4. Button
  5. Trigger
  6. Apex Class
  7. Flow

Open this article in the interactive viewer →