Remote Action for Integration Procedures

The Remote Action element calls the specified Apex class and method or the specified invocable action.

Note
Note A Remote Action calls the Apex class as a new entry point through the Callable interface. As a result, a class declared with inherited sharing runs with sharing (the default for a transaction entry point). It doesn't inherit a without sharing context from the calling class. To control record visibility predictably, declare an explicit with sharing or without sharing mode on every Apex class invoked from a Remote Action instead of relying on inherited sharing. For more information, see Use the with sharing, without sharing, and inherited sharing Keywords.

Property

Description

Remote Class

Callable class or DefaultInvocableAction for an Invocable Action. In Omnistudio Standard, to prevent an error that says the Apex class can’t be loaded, include the namespace: omnistudio.ClassName .

Remote Method

Method or Invocable Action name.

Remote Options

Additional class invocation options. The following options are predefined, but you can also pass options specific to the class.

  • InvocableInputKey —— Specifies a JSON map as Invocable Action input.
  • reserialize —— If true, reserializes the class output.

    If a remote action returns data that isn't in Map<String, Object> format, sometimes an Integration Procedure or DataRaptor can’t process it unless it's reserialized. If the returned data isn’t an sObject, you can't use it to update Product2 objects without reserializing.

  • useStandardRuntime —— If true, forces the Apex class to run in the Omnistudio standard runtime, even if the Managed Package Runtime is enabled in Omnistudio Settings in Setup.

Additional Input

Data passed to the method or Invocable Action.