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
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: