Duration / Downtime field type advice and how duration fields works in terms of UI policies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2018 04:17 AM
Hi guys, on our CHG form we currently ask a yes/no question if there is to be 'Downtime?' - we want to change this so rather than asking yes/no, we ask 'Duration of downtime'?
What is the best way (field type) to force consistency of answers. Ideally we'd like them to specify in quarter/hundred intervals so 01.25 would be 1hr 15mins.
Logically I guess the 'Duration' field type makes most sense but I'm not familiar with this and when trying it am struggling to get a UI policy to work so that e.g. if the Downtime duration is anything other than 00:00:00:00 or >0 another field 'Downtime details' shows?
Any advice much appreciated. Thanks,
DS
- Labels:
-
Change Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-14-2018 07:55 AM
Turns out this is a known problem... "PRB1206015 - UI policy using condition (duration field) < (some amount of time) does not seem to be working correctly in H and I"
Recommended solution... upgrade to Jakarta (no workaround annoyingly).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2018 07:10 AM
Hi, thanks. Just in terms of B) for now...
On my Duration (u_duration) field on the CHG form, under Dictionary/Attributes I see the below (see screenshot).
I.e. it looks like I have to specify an Attribute and a Value. But the Attribute is a reference field and nothing relating to 'Max unit' or 'Unit' is in the list for me to select. Any ideas?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2018 07:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2018 09:05 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2018 09:45 PM
OK, Not the attributes tab.
See my image the Attributes field that shows up when you are in Advanced view, above the form sections and tabs, that is where you put the max_units value.