Resource Reports: Prevent Start Date/End Date Reset When Group Value Changes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2023 01:39 PM
Can anyone help me understand what customization is needed to prevent the "Start date" and "End date" values from defaulting to a value when the "Group" or "User" values are changed in "Resource Reports"? We would prefer these not default so we can run the same report multiple times for different groups/users without needing to modify dates for each run.
Steps to Reproduce
When navigating to Resource > Resource Reports > Resource Reports and selecting report criteria such as the following:
1. Report Type = Availability
2. Entity Type = Group
3. Group = XYZ Group
Note: The Start date is updated to automatically reflect today's date and End date is automatically set to 1 year from yesterday. We then modify the Start date and End date to different values and run the report. The report runs as expected.
Next, we want to run the same report for another group "ABC Group," so we click Edit and as soon as we choose a different Group, the Start date and End date revert back to the default values noted above.
ServiceNow Support directed me to the Script Include "ResourceReportService," but I am unable to determine what change may be needed here to prevent date defaults from occurring.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 01:48 PM
Does anyone have any thoughts on this?