---
sourceDocument: Australia ServiceNow AI Platform Capabilities
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/servicenow-platform

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia ServiceNow AI Platform Capabilities

ft:clusterId :

    - platcap

bundleId :

    - platcap

workflow :

    - Platform


---

# Auto-map SOAP activity output variables

# Auto-map SOAP activity output variables {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 Minuten Lesedauer

The ServiceNow
activity designer allows you to map parameter values in a SOAP test payload to variables in
the Outputs stage automatically.

## Vorbereitungen

Role required: web_service_admin, activity_admin, activity_creator

## Warum und wann dieser Vorgang ausgeführt wird

Hinweis:  
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.

## Prozedur

1. In the activity designer, proceed to the Execution Command stage. {#t_AutoMapSOAPActivOutputVarble__s_TestVariableStep1}
{#t_AutoMapSOAPActivOutputVarble__s_TestVariableStep1}
2. 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. {#t_AutoMapSOAPActivOutputVarble__s_TestVariableStep2}
{#t_AutoMapSOAPActivOutputVarble__s_TestVariableStep2}
3. 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.
4. 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.  
5. 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.
   {#t_AutoMapSOAPActivOutputVarble__ul_sfj_bgy_rs}

## Provide credentials to access a SOAP message WSDL {#ariaid-title2}

If 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.

### Vorbereitungen

Role required: web_service_admin, activity_admin, activity_creator  
The ServiceNow instance only supports basic auth credentials for accessing a WSDL. If the SOAP function or the SOAP message does not provide these credentials, you must configure them in the SOAP activity template. Orchestration uses these priorities for deciding which basic authentication credentials to use:

* SOAP message: Credentials for a SOAP message are used if no other credentials are defined.
* SOAP function: Credentials for a SOAP function override the credentials configured for the SOAP message.
* SOAP activity template: Credentials for a SOAP activity template override both the SOAP function and SOAP message credentials.
{#t_ProvideWSDLCredentials__ul_e5j_kfp_h5}

### Prozedur

1. Navigate to AllSystem Web ServicesOutboundSOAP Message.
2. Select the SOAP message you want the activity to use.
3. In the SOAP Message record, select the Download WSDL check box.
4. In the Authentication type field, select Basic.  
   The Basic auth profile field appears.
5. Select the basic auth profile to use with this SOAP message.  
   Abbildung : 1. Basic authentication for a SOAP message
6. Alternately, you can configure basic authentication credentials in [Configure the SOAP execution command](https://servicenow-prod.fluidtopics.net/CDBgphDF6lbeo7YxvfjlkQ "Use the input variables you created to configure the command that Orchestration executes on the SOAP endpoint.").
   1. In the Authentication field, select Override with Basic Authentication credentials.  
      The Credentials field appears.
   2. Select the basic auth credentials to use to access the WSDL.  
      This setting overrides any credentials configured in the SOAP message.  
      Abbildung : 2. Override basic auth credentials
   {#t_ProvideWSDLCredentials__substeps_cbk_zfz_g5}

