Schedule entry in the Schedules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 10:38 PM
Does the 'When' field in cmn_schedule_span table actually works if we set the schedule for particular hours? As we are trying to send a notification of a newly created incident if incident is created within 2 hours and on Fri-Sat- Sun. How would we do it? Out of DateTime field does Time field work? If yes then how?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-11-2017 11:02 PM
Everything works.
You need to create a schedule entry for Friday - Saturday - Sunday and pass the current incident created time to check within this schedule using DurationCalculator and if its returns any value apart from 0 then you know that the incident was created within this schedule entry and can trigger the notification.
You can look at Schedule entry fields and Calculating a simple duration
Let me know if you have any questions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-12-2017 03:11 AM
Thank you.. I will apply this..