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
          Test the Integration Procedure with the Remote Action

          Test the Integration Procedure with the Remote Action

          After you have created the example Integration Procedure with the Remote Action, the final task is to test it.

          1. Go to the Preview tab and click Execute. The output should look like this:
            {
              "response": {},
              "vlcchainableStepDepth": 0,
              "ResponseAction1Status": true,
              "MyName": {
                "Full Name": "Dave Smith"
              },
              "MyNameStatus": true,
              "ReserializeApexFunctionStatus": true,
              "ReserializeApex": {
                "result": {
                  "name": "Dave Smith"
                },
                "errorCode": "INVOKE-200",
                "error": "OK"
              },
              "ReserializeApexStatus": true,
              "options": {
                "queueableChainable": false,
                "ignoreCache": true,
                "resetCache": false,
                "chainable": false
              }
            }

            Note that this Integration Procedure successfully passes the value of the name variable in the Apex class to its Full Name node.

          2. Go to the Properties tab, select the ReserializeApexFunction component, and click Active to remove the check. This turns off reserialization.
          3. Go to the Preview tab and click Execute again. The output should look like this:
            {
              "response": {},
              "vlcchainableStepDepth": 0,
              "ResponseAction1Status": true,
              "MyName": {
                "Full Name": ""
              },
              "MyNameStatus": true,
              "ReserializeApex": {
                "result": {
                  "name": "Dave Smith"
                },
                "errorCode": "INVOKE-200",
                "error": "OK"
              },
              "ReserializeApexStatus": true,
              "options": {
                "queueableChainable": false,
                "ignoreCache": true,
                "resetCache": false,
                "chainable": false
              }
            }

            Note that the Full Name node has no value.

          4. Go to the Properties tab, select the ReserializeApex component, and change the Remote Options Value to true. This enables reserialization in a different way.
          5. Go to the Preview tab and click Execute a third time. The output should look like this:
            {
              "response": {},
              "vlcchainableStepDepth": 0,
              "ResponseAction1Status": true,
              "MyName": {
                "Full Name": "Dave Smith"
              },
              "MyNameStatus": true,
              "ReserializeApex": {
                "error": "OK",
                "errorCode": "INVOKE-200",
                "result": {
                  "name": "Dave Smith"
                }
              },
              "ReserializeApexStatus": true,
              "options": {
                "queueableChainable": false,
                "ignoreCache": true,
                "resetCache": false,
                "chainable": false
              }
            }

            Note that the Full Name node has a value again.

           
          Error notification.
          Error
          An error occurred during retrieving a vote
          Press Control + F6 to navigate to the next toast notification or focusable region.
          Error notification.Error An error occurred during retrieving a vote Press Control + F6 to navigate to the next toast notification or focusable region.
          Loading
          Salesforce Help | Article