Auto-map SOAP activity output variables The ServiceNow activity designer allows you to map parameter values in a SOAP test payload to variables in the Outputs stage automatically. Before you beginRole required: admin About this task Note: You can test input variables from any stage in the activity designer if you have provided enough information for Orchestration to contact the endpoint and return data. Typically, the Execution Command stage is the point at which your inputs are ready for testing. Procedure In the activity designer, proceed to the Execution Command stage. Define an appropriate MID Server, if requested. The test fails if the MID Server cannot be found or if it cannot connect to the target. Click Test Activity to test the input parameters. If you added actual values for the parameters and fields, the system runs those values against the specified target and returns the resulting payload. If you mapped input variables to fields and parameters, the system displays a dialog box for assigning test values to those variables. Provide test values, if requested, and click OK to display the payload. The entire payload appears in the Raw Output tab of the Response form. Select one of these auto-mapping options. Auto-Map to Local: Directly maps values to a local variable for use within the activity. Auto-Map to Output: Directly maps values to the output variable to pass to other activities in the workflow. Auto-mapping to an output variable creates an array of objects, each of which contains the column names from the query result. Provide credentials to access a SOAP message WSDLIf the SOAP WSDL you are requesting in a test payload requires authentication, you must provide basic auth credentials in either the SOAP message or the SOAP activity.