Remote Action for Integration Procedures (Managed Package)

For the managed package runtime, the Remote Action element calls the specified Apex class and method or the specified invocable action. You can also pass in invocation options and data. The Apex class must implement the VlocityOpenInterface2 or Callable interface.

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

If the data that a remote action returns isn't in Map<String, Object> format, sometimes an Integration Procedure or Omnistudio Data Mapper can’t process it. Because the returned data isn’t an sObject, you can't use it to update Product2 objects without reserializing. You can convert the data in one of these ways:

An error message that begins with Invalid conversion from runtime type String often indicates a need to reserialize data.

If you receive an error that says the Apex class can’t be loaded, add the Apex class namespace in the Remote Class field in the remote action like this: {yournamespace}.ApexClassName. For example, omnistudio.PrefillOrders where omnistudio is the namespace and PrefillOrders is the Apex class.

To ensure that a Remote Action error causes a rollback if Rollback on Error is checked in the Procedure Configuration, set the errorCode in the class output map.

Note
Note Community Plus users must log in before they can use an Integration Procedure Remote Action that sends emails.