RoundOff Property on Planned hours in Resource plan & KB0959650
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2022 02:11 AM
Hello Community,
I can see Planned hours in Resource plan is taking round off value, if the given input is 7.43 hours it is considering 7 hours, which is not expected by our client, I have gone through Community and knowledge articles, where it says that customizing below scripts can deactivate roundOff functionality.
- "Populate planned hours from other types" Business Rule
- "ResourceManagementUtils" Script Include
I tried to inactivate that business rule for testing, I can see the same roundOff functionality even after deactivating that Business rule. Please let me know if I miss anything here.
And from KB Article, I found that deactivating the roundOff functionality is not recommended, May I know why that is causing issue?
KB Article :
Thanks in advance...
- Labels:
-
Resource Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-26-2022 05:38 AM
Hi,
Use below system property to to disable the Planned hours field round off.
1. Go to the sys_properties table and search with com.snc.resource_management.allocation_interval_minutes this name as shown below.
2. If you add 0 on Value field as shown above it will disable the round off and no need to disable any business rule or script include.
3. if you want for every 15mins or 30 mins you can give on that value as 15 or 30.
Hope it helps!!
Please Mark ✅ Correct/helpful, if applicable, Thanks!!
Regards
Pavankumar
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-30-2022 09:42 PM
Hi Sree,
If it helpful please close the thread and Mark ✅ Correct/helpful.
Thanks,
Pavankumar
ServiceNow Community MVP 2024.
Thanks,
Pavankumar

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-01-2022 09:02 AM
Hi @Sree
Hours should be rounded in the customer instance based on the property - Calendar Event Duration(com.snc.resource_management.allocation_interval_minutes)
Please ask the customer to check this article
Thanks,
Abhinay Kumar Nandagiri.