Notification for Scheduled Job Failure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2019 06:59 AM
We have several scheduled jobs that run nightly to import user information from Workday. These jobs are all SFTP feeds. Is there a way to trigger a notification if one of these jobs does not complet successfully?
- Labels:
-
Notifications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2019 07:22 AM
You can try a validation check with a business rule on import set table by checking for error count >0, to fire an event, which would trigger a notification or an incident.
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2019 08:41 AM
How would this work, via a script?
Thanks,
Vince
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2019 10:06 AM
1. Write an after business rule on transform history table
2. Add filters to run only for your desired transform maps
3. Add advanced condition current.errors>0
4. Create an event
5. Add below syntax in the advanced section script.
gs.eventQueue('your event name',current,gs.getUserID(),gs.getUserName());
6. Create a notification to trigger when this event is fired.
Hope this helps