Retry with JDBC type Data Source
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2023 12:36 AM
Hello All,
We have setup a JDBC type Data Source. And one scheduled import we have configured to run that daily.
We have a requirement to retry the execution 3 times in the interval of 10 mins if the connection fails and create one incident.
Please let me know if any one have idea how to achieve this.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-28-2023 06:58 AM
I would use the script field on the scheduled import - specifically the post script. In this field you could check to see if the import set failed to create or if it was empty and retrigger the same scheduled import. To have it wait 10 min, you might need to trigger an event that triggers a script action and do the retrigger in the script action - that would allow you to pause the 10 minutes because you can set the event to happen in the future. Then your post script on the scheduled import should have a check to see if it has already tried 3 times and if so, then create the incident.
