For the managed package runtime, after you have created the example Integration Procedure with the Remote Action, the final task is to test it.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
-
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
namevariable in the Apex class to itsFull Namenode. - Go to the Properties tab, select the ReserializeApexFunction component, and click Active to remove the check. This turns off reserialization.
-
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 Namenode has no value. -
Go to the Properties tab, select the ReserializeApex component, and change the Remote Options Value to
true. This enables reserialization in a different way. -
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 Namenode has a value again.