Views:

Question:
Is there a way to incorporate missing parameters into a Web Service activity, so a call can be made to retrieve the token without issue? 

For example, there is a web service request that is in the process of being built, but there are some parameters used for oAuth authentication that is not available when setting up the Web Service via the Configurations page. 

Answer: 
When using Web Services in Workflows, these services may require a valid token in order to function. Entering data from the Web Service oAuth configuration may not allow all required information to be provided. 

In cases like these, it's required to store this information in the JSON body of the service you are invoking. For example, you would have the following parameters provided in the screenshot below. 


In this example the JSON equivalent of this looks like this:


grant_type=password&scope=docuware.platform&client_id=docuware.platform.net.client&username=Username&password=Password

KBA applicable for both Cloud and On-premise Organizations.