---
schema_version: "1"
id: e25b16256f0202ae1dfd941a1f98cbe700a12675a9b08e983aa61a3837ed2f4d
title: executeOmniCallback(input, output, options)
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/financial_services_cloud_object_reference/apex_commonserviceexcellence_IntegrationHandler_executeOmniCallback.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.financial_services_cloud_object_reference.meta/financial_services_cloud_object_reference/apex_commonserviceexcellence_IntegrationHandler_executeOmniCallback.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: dc5acd72b64407672d5a36bf990315f338aa8d9d580505922e9a305b7008a9a4
description: Calls back the method that is called automatically after the Continuation from getOmniContinuation is executed. Internally calls the callback method of the provider.
---
# executeOmniCallback(input, output, options)

Calls back the method that is called automatically after the Continuation from getOmniContinuation is executed. Internally calls the callback method of the provider.

## Signature

global static Object executeOmniCallback(Map<String, Object\> input, Map<String, Object\> output, Map<String, Object\> options)

## Parameters

input

Type: Map<[String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm), Object>

Represents the original input that was passed into getOmniContinuation method.

output

Type: Map<[String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm), Object>

Represents the output from the API call.

options

Type: Map<[String](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_methods_system_string.htm), Object>

Represents parameters passed by OmniStudio.

## Return Value

Returns the IntegrationCalloutResponse object, which contains the following properties:

- Boolean isSuccess — Indicates if the API call was successful.
- Map<String, Object> returnValue — Response from the API call after the callback method has processed the response.
- String error — Contains the error message in case of an error.

## Usage

This method isn't meant to be called directly — the [OmniContinuation](https://help.salesforce.com/s/articleView?id=xcloud.os_make_a_long_running_remote_call_using_omnistudio_omnicontinuation_56479.htm&type=5&language=en_US) framework calls it automatically.