---
schema_version: "1"
id: 6b28e78856f5403f0cc1f676fc6a448c4b4ae87a2d72d1ba6e33a963389b695e
title: Create the Integration Procedure with the Remote Action (Managed Package)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_create_the_integration_procedure_with_the_remote_action.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_create_the_integration_procedure_with_the_remote_action.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: c7658e3a098badeafa5cb4006c8cd45a7f31d67f1854d6d21566b2505cca0991
description: For the managed package runtime, an Integration Procedure retrieves and reserializes the value of a name variable from the TestReserializeApex Apex class.
products:
  - Omnistudio
release: "264"
---
# Create the Integration Procedure with the Remote Action (Managed Package)

For the managed package runtime, an Integration Procedure retrieves and reserializes the value of a `name` variable from the TestReserializeApex Apex class.

![Managed Package app icon](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/resources-global/_corporate/images/managedpackageicon.png) This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see [Omnistudio Help](https://help.salesforce.com/s/articleView?id=xcloud.os_omnistudio_standard.htm&language=en_US).

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

The Structure panel looks like this:

![The contents of the Structure panel are listed in the preceding text.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-omnistudio_for_managed_packages-264-0-0-production-enus/aa2554ec-624a-4ee6-8da4-6435670e6e62/omnistudio_for_managed_packages/images/ipremoteaction1.png)

To build this Integration Procedure:

1. From the Vlocity Integration Procedures tab, click **New**.
2. Provide an **Integration Procedure Name**, a **Type**, and a **SubType**, and click **Save**.
3. Drag a Remote Action component into the Structure panel and give it the following settings:
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col>
              <col>
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d198710e135">
                  <p style="margin-bottom:0;">Property</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d198710e141">
                  <p style="margin-bottom:0;">Value</p>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e135 ">
                  <p style="margin-bottom:0;">Element Name</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e141 ">
                  <p style="margin-bottom:0;">ReserializeApex</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e135 ">
                  <p style="margin-bottom:0;">Remote Class</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e141 ">
                  <p style="margin-bottom:0;">TestReserializeApex</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e135 ">
                  <p style="margin-bottom:0;">Remote Method</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e141 ">
                  <p style="margin-bottom:0;">random</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e135 ">
                  <p style="margin-bottom:0;">Remote Options, Key</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e141 ">
                  <p style="margin-bottom:0;">reserialize</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e135 ">
                  <p style="margin-bottom:0;">Remote Options, Value</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e141 ">
                  <p style="margin-bottom:0;">false</p>
                </td>

              </tr>
            </tbody>
          </table>
    
    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**.
4. Drag a Set Values component into the Structure panel and give it the following settings:
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col>
              <col>
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d198710e260">
                  <p style="margin-bottom:0;">Property</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d198710e266">
                  <p style="margin-bottom:0;">Value</p>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e260 ">
                  <p style="margin-bottom:0;">Element Name</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e266 ">
                  <p style="margin-bottom:0;">ReserializeApexFunction</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e260 ">
                  <p style="margin-bottom:0;">Element Value Map, Element Name</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e266 ">
                  <p style="margin-bottom:0;">result</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e260 ">
                  <p style="margin-bottom:0;">Element Value Map, Value</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e266 ">
                  <p style="margin-bottom:0;">=RESERIALIZE(%ReserializeApex%)</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e260 ">
                  <p style="margin-bottom:0;">Response JSON Path</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e266 ">
                  <p style="margin-bottom:0;">result</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e260 ">
                  <p style="margin-bottom:0;">Response JSON Node</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e266 ">
                  <p style="margin-bottom:0;">ReserializeApex</p>
                </td>

              </tr>
            </tbody>
          </table>
5. Drag another Set Values component into the Structure panel and give it the following settings:
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col>
              <col>
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d198710e373">
                  <p style="margin-bottom:0;">Property</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d198710e379">
                  <p style="margin-bottom:0;">Value</p>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e373 ">
                  <p style="margin-bottom:0;">Element Name</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e379 ">
                  <p style="margin-bottom:0;">MyName</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e373 ">
                  <p style="margin-bottom:0;">Element Value Map, Element Name</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e379 ">
                  <p style="margin-bottom:0;">Full Name</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e373 ">
                  <p style="margin-bottom:0;">Element Value Map, Value</p>
                </td>

                <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d198710e379 ">
                  <p style="margin-bottom:0;">%ReserializeApex:result:name%</p>
                </td>

              </tr>
            </tbody>
          </table>
6. Drag a Response Action component into the Structure panel and check the **Return Full Data JSON** checkbox.

What’s next: [Test the Integration Procedure with the Remote Action (Managed Package)](https://help.salesforce.com/s/articleView?id=xcloud.os_test_the_integration_procedure_with_the_remote_action.htm&release=264.0.0&type=5 "For the managed package runtime, after you have created the example Integration Procedure with the Remote Action, the final task is to test it.").