how to set duration field to blank from 0:0:0 (zero) number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2022 01:29 AM
Hello Experts,
I want to set my duration field as blank, currently it defaults to 0, when nothing is set, due ti which I cannot check if the duration is selected or not.
Is there a way to abort user action on change request values of standard change template when duration in zero.
Let me know if this requirement needs further explanation, i'll happily share.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2022 12:02 AM
any updates on above?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-01-2022 04:41 AM
Hi Lukik,
I had the same issue and Fixit with a BR, setting the fields as null and works.
Offcourse you need to set a condition after the inster of update the field you consider.
(function executeRule(current, previous /*null when async*/) {
current.approved_change_window_duration = null;
})(current, previous);
Result as image