Best Practice for Making Remote Calls (Managed Package)

For the managed package runtime, when making remote calls, start the flow with the executeAction method. Do not start the flow with the invokeAction method. To standardize the action flow and use the built-in logic of the action framework, Vlocity recommends that all action flows begin with executeAction.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

The invokeAction method's purpose is to make the remote call with request parameters processed by the preProcess method.  The preProcess method, by default, supports queueable and chainable process flows. The postProcess method standardizes the response in a predictable format.