Question

Unable to use the SalesForce Token from Salesforce Authentication action in the Rest Web Services Put Command

  • 28 February 2023
  • 1 reply
  • 192 views

Badge +3

https://docs.automationanywhere.com/bundle/enterprise-v2019/page/enterprise-cloud/topics/aae-client/bot-creator/using-the-workbench/salesforce-authentication-action.html in the article information 8.2 says "Authorization returns a token, which is hidden as it is a credential type, this token can be passed directly in the Rest Web Services command." Problem with using the authorization in Rest Web Service is the credential datatype. Typically, the header auth of SF API is done like "Authorization / Bearer <Token>", because the token from Salesforce Authentication Action is Credential Datatype the auth header can only be "Authorization / <Token>" which is failing in the Rest Web Services command.

Any thoughts on how to make this work? Is there an example on how to use the Authorization token from Salesforce Authentication Action in Rest Web Services Command?


1 reply

Userlevel 7
Badge +13

Hi @vivek.selvaraj ,

 

Please check out the below Tutorials on integrating the Salesforce through AA Salesforce connector. This is much simpler approach. 

 

 

Reply