How to convert duration field to "hours"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2018 12:24 AM
I have a business rule which has criteria to check on the Project planned effort (which is a duration field) in terms of hours. Need advice on the business rule's syntax to convert a duration field to hours. Thanks!
- Labels:
-
Project Portfolio Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2018 12:39 AM
If you give a glide_duration field a field attribute of "max_unit=hours", the days input will be removed from both form and list. You'll still see minutes/seconds inputs, however, so if that's a problem then Mark's suggestion is the way to go.
http://wiki.servicenow.com/index.php?title=Setting_the_Duration_Field_Value#Set_the_Maximum_Unit_of_Measurement

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2018 01:26 AM
Please refer this:
Please mark my answer correct and helpful if my answer helped u. Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2018 02:57 AM
Thank you Naveen. Your reference link helps! Appreciate your prompt response!