Implement Retry Mechanism in Scheduled Imports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2022 09:16 PM
We've developed a scheduled import which will run daily to fetch data from Oracle DB . Based on the incoming data and some calculations it will create an Incident record in ServiceNow.
Now we want to add Retry logic when import fails due to below use cases -
1. When mid server is down -> run the import again after 5 mins interval [repeat 3 times] and then send an email if it fails all 3 times
2. When scheduled import shows error -> re-run the import 3 times and then send an email
3. When no data is available in oracle DB -> send email saying "incident creation not possible due to no data available in Oracle DB"
Any suggestions on how can we achieve this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2022 12:41 AM
Have found something related to OOB Retry policies -
Retry Policies >> Default JDBC Retry policies
Does this apply to JDBC calls invoked by scheduled imports (via datasources) ?