Send response to SAP when RITM state changes to closed complete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
I have a requirement where an RITM needs to be created whenever a payload is received from SAP. For this, I have already developed a Scripted REST API in ServiceNow that successfully creates the RITM.
My second requirement is to send a response/callback to SAP when the RITM state changes to "Closed Complete".
Could anyone help me with the best approach to implement this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
for your 2nd requirement you need API from SAP so that you can let them know when RITM changes to Close Complete.
Do you have that API?
if not then ask them
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sunday
Hi @Anamika Thakur ,
To implement this try this way
- Create REST Message with SAP endpoint (if endpoint details are not available, please obtain them from SAP)
- Create custom action to handle the payload
- Configure flow designer to trigger when RITM state changes to Close complete
- Pass the required RITM details to custom action.
- have custom action sends post request to SAP API
- Log success/failure response to handle any errors
Thanks,
BK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
For your second requirement , If you have SAP end point and credential:
Check it : Ways of data integration between ServiceNow and SAP and how do I go about differentiating them?
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti