- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2025 05:01 AM
Hi Team,
I am doing a REST Integration using flow designer/workflow. For Authentication, I am using bearer token, which needs to be send in Authorization header.I cant use Oauth type credential as I don't have client Id and Client Secret. I have direct generated token.
Requirement to create ServiceNow forms use designer/workflow to trigger REST API call to create token and use the same for user creation/Updation at Saviynt end.
Any inputs will be appreciated.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2025 12:18 PM
Hi @SHARAD KUMAR ME ,
Yes, this setup can be achieved with workflow/flow designer. For flow designer though, you would need to ensure that the REST Action Step is installed. If you're practicing with a PDI you would need to go to the SN Developer site and use the configurations in the header to install it.
After those are installed then you should be able to choose the REST Step in a Flow Action
If you can't get the REST step at the moment it still can be done in a Flow. You would just have to setup the platform REST Message and then use a Script Action in the Flow.
Basically the setup would be one call to retrieve the token.
One call for refresh token.
Once call for using the token (actual call to retrieve data)
And of course you would be using the response from either of the token retrievals and using the response in the call for data retrieval using the pills of the Flow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2025 09:10 AM
Hi @ChrisBurksChrisBurks,
Thanks for the links and details, made my life easy.
Do you also have that we can use in workflow/flow designer to use REST Methods to get bearer token and parse it. Again send to create a new user or update user.
Able to do it manually ,need to use it in flow so that can be done automatically once request for new user creation submitted.
Thanks in advance.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2025 12:18 PM
Hi @SHARAD KUMAR ME ,
Yes, this setup can be achieved with workflow/flow designer. For flow designer though, you would need to ensure that the REST Action Step is installed. If you're practicing with a PDI you would need to go to the SN Developer site and use the configurations in the header to install it.
After those are installed then you should be able to choose the REST Step in a Flow Action
If you can't get the REST step at the moment it still can be done in a Flow. You would just have to setup the platform REST Message and then use a Script Action in the Flow.
Basically the setup would be one call to retrieve the token.
One call for refresh token.
Once call for using the token (actual call to retrieve data)
And of course you would be using the response from either of the token retrievals and using the response in the call for data retrieval using the pills of the Flow.