Loading
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Create the Integration Procedure with the Remote Action

          Create the Integration Procedure with the Remote Action

          An Integration Procedure retrieves and reserializes the value of a name variable from the TestReserializeApex Apex class.

          The Integration Procedure has these components:

          • A Remote Action, named ReserializeApex

          • A Set Values component, named ReserializeApexFunction

          • A Set Values component, named MyName

          • A Response Action, named ResponseAction1

          To build this Integration Procedure:

          1. Create a new Integration Procedure.
          2. Add a Remote Action component with these settings.

            Property

            Value

            Element Name

            ReserializeApex

            Remote Class

            TestReserializeApex

            Remote Method

            random

            Remote Options, Key

            reserialize

            Remote Options, Value

            false

            A Remote Method value is required, but it can be anything, because this Integration Procedure doesn't invoke a method.

            A step in the test of this Integration Procedure will ask you to change the Remote Options Value.

          3. Add a Set Values component into the Structure panel and configure it with these settings:

            Property

            Value

            Element Name

            ReserializeApexFunction

            Element Value Map, Element Name

            result

            Element Value Map, Value

            =RESERIALIZE(%ReserializeApex%)

            Response JSON Path

            result

            Response JSON Node

            ReserializeApex

          4. Add another Set Values component into the Structure panel and configure it with these settings:

            Property

            Value

            Element Name

            MyName

            Element Value Map, Element Name

            Full Name

            Element Value Map, Value

            %ReserializeApex:result:name%

          5. Add a Response Action component into the Structure panel and select Return entire JSON output. If you’re using the designer on a managed package, select Return Full Data JSON.
           
          Loading
          Salesforce Help | Article