How to create a report that can track any RITM created and not updated within business hours
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2024 02:38 PM - edited 06-14-2024 02:43 PM
Hello everyone 😇
I need to create a report that can track any RITM's that are assigned to service desk resolver group(s) (Service Desk, IT Service Desk, X Service Desk etc) and have been created and not updated within 8 business hours.
I could not figure out exactly how to create this report. I hope a Report wizard💫 can guide me while creating this report. I do really appreciate your time and help.
Thank you
By the way I have tried this but not sure whether it was the right solution as it did not work out:
1- I created a true/false custom field. (u_not_updated_within_8_business_hours)
2- I created a business rule that tags RITMs Not Updated Within 8 Business hours (for the testing purposes it made it 2 minutes)
***I tried to create the code with the help of ChatGPT so not sure if it is correct.***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2024 03:22 PM - edited 06-14-2024 03:23 PM
The approach with a custom field to track if there was an update withing 8 hours from creation is correct, but you need to make some changes to your business rule. You don't need to run it on insert, only on update. In the code, you should never set your field to false. You should only set it to true if the "current time" at the time the business rule runs is within 8 hours of the creation timestamp of the RITM record. Also there is no need to run the business rule if the flag is already set to true.
Blog: https://sys.properties | Telegram: https://t.me/sys_properties | LinkedIn: https://www.linkedin.com/in/slava-savitsky/