Business Rule for OAuth 2.0 Authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 02:13 AM
Hi Everyone,
I have configured REST Message and OAuth profile. Trying to create case in salesforce with this. So when I use Get OAuth Token and create case in servicenow, the BR helps in sending the data to salesforce and creating case there. But every time, I need to use the get oauth token.
Can you help me with BR script to include in the existing create case script to get it automatically done?
Please refer the OAuth Profile-
Thanks in advance!
@Ankur Bawiskar Pls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 02:24 AM
you need to use script to generate the token and then use that in the actual endpoint
check these links
https://hi.service-now.com/kb_view.do?sysparm_article=KB0791131
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader