SK SKYVVA Documentation

2. Invoke callout()

1. Overview

invokeCallout() is the legacy outbound callout method in Skyvva used to send data from Salesforce to external systems such as SAP or SAP PI via outbound interfaces.

This method belongs to the Interface API Version V2 architecture and is primarily designed for simple and synchronous outbound processing scenarios.

It is commonly used in SFDC to SAP PI (SFDC2SAPPI) integration where minimal processing logic is required.


2. Purpose

The main purpose of invokeCallout() is to:


3. When to Use invokeCallout()

Use invokeCallout() when:


4. Limitations

invokeCallout() has the following limitations:


5. Supported Interface API Version

FeatureValue
Interface API VersionV2

6. Supported Execution Modes

ModeSupport
SYNC✅ Supported
AUTO✅ Supported
FUTURE✅ Supported
QUEUEABLE❌ Not Supported
BATCH✅ Supported

7. Adapter Support

Adapter TypeSupport
SFDC2SAPPI Adapter✅ Supported
REST Adapter❌ Not Supported
SOAP Adapter❌ Not Supported
SAP PI/PO Modern Adapter❌ Not Supported

8. Parameters

invokeCallout() requires the following parameters:

ParameterDescription
Interface IDThe Skyvva Interface configuration ID
IDsSalesforce record IDs to process
ModeExecution mode (SYNC, AUTO, FUTUR, BATCH)

9. Sample Apex Script for invokeCallout()

List<Id> ids = new List<Id>();
for(Account a : [SELECT Id FROM Account]) {
    ids.add(a.Id);
}
IServices.invokeCallout('Interface_ID', ids, 'BATCH');

10. Processing Flow

image

11. Key Characteristics


12. Summary

invokeCallout() is a legacy Skyvva outbound method designed for simple and direct integration scenarios.

It is best suited for:


13. Recommendation

Open this article in the interactive viewer →