Skip to main content
Question

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

  • February 28, 2023
  • 1 reply
  • 260 views

Forum|alt.badge.img+4

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

Padmakumar
Forum|alt.badge.img+13
  • Navigator | Tier 3
  • 785 replies
  • March 1, 2023

Hi @vivek.selvaraj ,

 

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

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings