Reference > Workflow Object Blocks > Run Web Service

Run Web Service Workflow Block

This block creates a quick action that runs a web service.

Use the Run Web Service block to assemble the details needed to call an external web service such as cost service, data access, or notification. This involves defining the Web Services Description Language (WSDL) document, service and method to use, and then specifying the parameters.

Parameters are mapped either from a business object field or a constant value.

A quick action used to obtain information from a web service is often used in conjunction with an update record quick action. You also can use it in conjunction with a business rule to calculate a parameter, then use it in a process.

When defining this block for a cost service, you can first use the $(ServerURL()) expression to obtain the tenant URL, which can then be used as part of the URL for accessing the cost web service:
$(ServerURL() + '/Services/CostService.asmx?wsdl')

Run Web Service Workflow Block

Exit Ports

ok

Continue to the next block.

failed

General exit port for a failed integration action. A logical next step is to trigger a notification.

Properties

Title Enter a unique name for the object.
WSDL URL Enter the WSDL URL, then click Load Service Definitions.
Service Name Choose from the drop-down list.
Operation Name Choose from the drop-down list.
Basic Authentication Check this option to use basic authentication.
Domain Name Enter the domain name that you want to use.
User ID Enter the user ID for the URL.
Password Enter the password for the URL.
Input Parameters This information is automatically generated from the WSDL file.
Output/Response Parameters This information is automatically generated from the WSDL file.
Store Error Message Enter the error message that you want to appear.

Actions