---
schema_version: "1"
id: a698b2fd4f51630c24f291359a09e992e1f42ec095fffce86acc554e2a715984
title: Continuation in Long-Running Calls
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_continuation_in_long_running_calls_56418.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_continuation_in_long_running_calls_56418.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ddd1dfac870aea2ff3742dc6015d43ba2817f8b641c64dd98be7ec90fbefd25f
description: To support long-running calls, Salesforce provides Apex Continuations. If your Omniscript calls a long-running Integration Procedure or Apex class, you can enable continuation. If your Flexcard calls a long-running Integration Procedure that has an HTTP action or a Remote Action, you can enable continuation.
products:
  - Omnistudio
release: "264"
---
# Continuation in Long-Running Calls

To support long-running calls, Salesforce provides Apex Continuations. If your Omniscript calls a long-running Integration Procedure or Apex class, you can enable continuation. If your Flexcard calls a long-running Integration Procedure that has an HTTP action or a Remote Action, you can enable continuation.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio-264-0-0-production-enus/f526eaa8-ae05-487a-8944-4bb99b0b78ac/images/icon_note.png)

Note Beginning Winter ‘23, Flexcards supports long-running calls from an Integration Procedure that have an HTTP Action or a Remote Action.

For Flexcards that call long-running Integration Procedures that have an HTTP Action or a Remote Action, enable continuation support by adding a new Options Map to the Integration Procedure data source. Enter `useContinuation` as the key and `true` as the value.

For Omniscripts that call long-running Integration Procedures, check the **Use Continuation** setting in the Integration Procedure Action.

For Omniscripts that call Apex classes using Remote Actions, you have two options:

- [Make a Long-Running Remote Call Using VlocityContinuationIntegration](https://help.salesforce.com/s/articleView?id=xcloud.os_make_a_long_running_remote_call_using_vlocitycontinuationintegration_56432.htm&release=264.0.0&type=5 "To support long-running remote calls, Vlocity supports the use of the Salesforce Continuation object. The VlocityOpenInterface2 interface and VlocityContinuationIntegration class support normal Remote Calls and Remote Calls that use the Continuation Object. For the new Apex classes, don’t use VlocityOpenInterface.") — This approach is older, still supported but deprecated.
- [Make a Long-Running Remote Call Using Omnistudio.OmniContinuation](https://help.salesforce.com/s/articleView?id=xcloud.os_make_a_long_running_remote_call_using_omnistudio_omnicontinuation_56479.htm&release=264.0.0&type=5 "To support long-running remote calls, Vlocity supports the use of the Salesforce Continuation object.") — This approach is recommended because it's namespace-independent.

- **[Make a Long-Running Remote Call Using VlocityContinuationIntegration](https://help.salesforce.com/s/articleView?id=xcloud.os_make_a_long_running_remote_call_using_vlocitycontinuationintegration_56432.htm&release=264.0.0&type=5)**  
    To support long-running remote calls, Vlocity supports the use of the Salesforce Continuation object. The VlocityOpenInterface2 interface and VlocityContinuationIntegration class support normal Remote Calls and Remote Calls that use the Continuation Object. For the new Apex classes, don’t use VlocityOpenInterface.
- **[Make a Long-Running Remote Call Using Omnistudio.OmniContinuation](https://help.salesforce.com/s/articleView?id=xcloud.os_make_a_long_running_remote_call_using_omnistudio_omnicontinuation_56479.htm&release=264.0.0&type=5)**  
    To support long-running remote calls, Vlocity supports the use of the Salesforce Continuation object.