---
schema_version: "1"
id: 6fb732843fc68d06ef40a62c76099f2cc42598942910a6dde462fe75757914bc
title: Continuation in Long-Running Calls (Managed Package)
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.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_continuation_in_long_running_calls.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 433cabb279524b87431b6594befab931703a71cad1112b04db8e41c0c8a50f5b
description: For the managed package runtime, 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 (Managed Package)

For the managed package runtime, 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.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/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 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 (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_make_a_long_running_remote_call_using_vlocitycontinuationintegration.htm&release=264.0.0&type=5 "For the managed package runtime, 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 (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_make_a_long_running_remote_call_using_omnistudio_omnicontinuation.htm&release=264.0.0&type=5 "For the managed package runtime, to support long-running remote calls, Vlocity supports the use of the Salesforce Continuation object.") — This approach, available in Summer '21 or later, is recommended because it's namespace-independent.

- **[Make a Long-Running Remote Call Using VlocityContinuationIntegration (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_make_a_long_running_remote_call_using_vlocitycontinuationintegration.htm&release=264.0.0&type=5)**  
    For the managed package runtime, 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 (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_make_a_long_running_remote_call_using_omnistudio_omnicontinuation.htm&release=264.0.0&type=5)**  
    For the managed package runtime, to support long-running remote calls, Vlocity supports the use of the Salesforce Continuation object.