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<Map<String,String>> 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
3. Invoke callout3
4. Different way how to invoke outbound interface
– Process Builder:
– Button
– Trigger
– Apex Class
– Flow
Popular Search how tohowdatahow to useagent