Run Web Service Workflow Block
4 min
the run web service workflow block creates a quick action that runs a web service use the run web service workflow 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 properties exit ports exit port description 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 property description title a unique name for the workflow block wsdl url the url of the wsdl document click load service definitions to import the settings in the document this is the equivalent to the service reference in the web service script service name the service to use this is equivalent to the web service list operation name the operation (method) to use this is equivalent to the method list basic authentication specifies if basic authentication is used, which means that you must supply a user id and password domain name the domain name to use user id a valid user name or id password a valid password for the user id input parameters automatically displayed by the application based on the wsdl file output/response parameters automatically displayed by the application based on the wsdl file store error message if there are web service errors, the application stores it in this field actions button action save commits your settings cancel exits without saving
