How to Compare GDT with specified time.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2024 07:23 AM
Hello community
I have a use case below that i need to represent in an assignment rule script
Check if time is between 9am and 5pm and assign to a specific assignment group, else assign to a default assignment group.
I have trouble with the GlideDateTime compareTo API but that compares the whole date time. I just need to compare the time. Any ideas how to script this out or alternative ways of meeting this requirement.
Thanks in advance.
0 REPLIES 0