ProcessIntegrationProvider Interface
Implement the ProcessIntegrationProvider interface to create a class for use with the Industries: Send Apex Async Request invocable action.
Namespace
industriesintegrationfwk
Usage
The Fee Reversal and Address Update service processes use classes that implement the ProcessIntegrationProvider interface to handle their attributes. This class fetches the svcCatalogRequestId after the Service Catalog Resource connect API has been invoked.
ProcessIntegrationProvider Methods
The following are methods for ProcessIntegrationProvider.
executeCallout(requestGuid, inputRecordId, payload, attributes)
Invokes an API call with a SvcCatalogRequest ID and Integration Definition attributes.
Signature
public IntegrationCalloutResponse executeCallout(String requestGuid, String inputRecordId, String payload, Map<String, Object> attributes)
Parameters
requestGuid
Type: String
Represents the Request GUID that uniquely identifies the API call.
inputRecordId
Type: String
Represents the input record that contains the payload for the API call.
payload
Type: String
Represents an additional payload provided outside of the inputRecordId.
attributes
Type: Map<String ,Object>
Represents attribute data from the Integration Definition record.
Return Value
Type: IntegrationCalloutResponse object
getProviderAttributes()
Tells the integration framework what attributes are expected and provides defaults for values that might be missing in the Integration Definition.
Signature
public List<ApexProviderAttr> getProviderAttributes()
Parameters
None
Return Value
Type: List<ApexProviderAttr>