- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
We are creating users based on a GET API in a data stream. But what if some users are not created due to some mandatory field missing what mechanism I can configure so that the other integration team knows that out of 10 8 users are created and 2 users were not created due to some reason.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
the docs say there is error evaluation for Data Stream, see if that helps
Data Stream actions and pagination
OR
You will have to use script step and use try catch block to know the error thrown and then when it goes to catch block add data to some custom table which will say which users were created and which failed
💡 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 || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited yesterday
the docs say there is error evaluation for Data Stream, see if that helps
Data Stream actions and pagination
OR
You will have to use script step and use try catch block to know the error thrown and then when it goes to catch block add data to some custom table which will say which users were created and which failed
💡 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 || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
