- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2025 02:19 AM - edited ‎01-23-2025 02:44 AM
Hi All,
I am performing one integration using flow action which is calling SI to create the request body and then posting it to third party URL. The integration is only uni-directional i.e I am posting data to third party system, now when this third party system will reply with a status message where it will post this reply to so my query is do I also need to provide my instance URL as well or not ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2025 12:58 AM
Hope you are doing good.
Did my reply answer your question?
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2025 02:26 AM
Hi @Anubhav24
What is your end-goal? Are you creating any record when you are posting data to third party system for tracking? If yes, you can make a REST API Call towards your instance from the Third-Party system and update that record with the response.
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2025 02:46 AM
Updated my query ,I am posting data to a third party system by forming the JSON request now when this third party system will reply with a status message will it be automatically processed by the rest step where I have configured error codes and error response in my flow action under error step ? Or do I need to provide a URL to third party for posting reply to the ServiceNow instance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2025 02:30 AM
Scripted REST API is for inbound.
The 3rd party will send data to you via your Scripted REST API endpoint which you will share with them
You need to share these details with them
1) Scripted REST API endpoint, something like this but please append the instance URL
https://instanceName.service-now.com/api/enll/testing/addattachment
2) Basic auth details - username and password of some API user (create a user as local sys_user with Web service checkbox=true)
3) Sample JSON Request body if the HTTP method is POST, PUT
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2025 02:46 AM
Hi @Ankur Bawiskar ,
Updated my query , I am posting data to a third party system by forming the JSON request now when this third party system will reply with a status message will it be automatically processed by the rest step where I have configured error codes and error response in my flow action under error step ? Or do I need to provide a URL to third party for posting reply to the ServiceNow instance.