---
schema_version: "1"
id: 5fb30bde3bce8a63b44f1bb51b6ea8bafff417808c3cf71b569a6ce95d673a31
title: |-
  getLightningContinuation(requestId, params, devName,
        input)
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_getLightningContinuation.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_getLightningContinuation.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 93a1de6d7d46c4b699b754a413582986944cf178879928c17a0a8b5396188602
description: Gets the Continuation object returned by the provider defined in the Integration Definition record referenced by the devName parameter.
---
# getLightningContinuation(requestId, params, devName, input)

Gets the Continuation object returned by the provider defined in the Integration Definition record referenced by the devName parameter.

## Signature

global static Continuation getLightningContinuation(String requestId, Map<String, String\> params, String devName, Map<String, Object\> input)

## Parameters

requestId

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

Represents a unique ID string that identifies the request.

params

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

Represents parameters passed directly to the provider class.

devName

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

Represents the Developer Name of the Integration Definition record.

input

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

If the Integration Definition references an external service, the input parameter contains the following properties:

- InputRecordId — ID of the record containing the input data to the API call.
- OutputRecordId — ID of the record to which output data from the API call is written.

## Return Value

Returns the [Continuation](https://developer.salesforce.com/docs/atlas.en-us.264.0.apexref.meta/apexref/apex_class_System_Continuation.htm) object.

## Usage

To use this class:

1. Create a provider class or preprocessor and postprocessor OmniStrudio assets.
2. Define an Integration Definition record in Setup.
3. Call this method to get the Continuation to call from the LWC component.