- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 12:17 PM
On the "Create New" demand form, I've added a new duration type field called "Estimated effort". It displays like below and converts 24 or more hours into days based on a 24 hour day.
What we have:
What we want:
Our IT development team works mainly on "hours" for work estimate. So, if estimated effort on a demand is 40 hours, we enter it as such and would like it to stay that way rather than it being converted to 1 day and 16 hours when you save the demand. Can a duration type field be modified to do this without impacting how it's possibly used in other areas of ServiceNow AND, can the "Days" part of the duration type field be hidden since it's of no use to us on the Demand form?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 03:07 PM
Add an attribute to the field.
max_unit=hours
This will change what is displayed so Days is no longer there and convert anything that has days back to hours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 03:07 PM
Add an attribute to the field.
max_unit=hours
This will change what is displayed so Days is no longer there and convert anything that has days back to hours.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 06:56 PM
That worked. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2023 05:55 PM
Hi @chrish5
Below Kb Article has your answer
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0870475
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.