- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2018 11:12 AM
Have added a choice in state called 'On hold'. Have created a UI Policy based on this - that will display a mandatory field called 'on hold reason'. Have added choices to 'on hold reasons'. When I select 'on Hold', the 'on hold reason' field appears, I select a choice, save the incident, now I change on hold state back to 'in progress' and save the incident. Now I change the state to 'On hold' and it should reset to 'none' as a choice, but it displays the previous selection instead. I've tried this with IE and Firefox - same results.
Any idea how I can fix it so that when changing back to 'on hold, the drop-down starts with None?
Thank you.
Solved! Go to Solution.
- Labels:
-
Incident Management

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2018 12:41 PM
ronaldmoeller,
You can create an on update Business Rule to clear this value when the state changes from On hold.
When to run:
State -- changes
AND
Change is not: On Hold
Actions tab:
Set value of On Hold Reason to blank

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2018 12:18 PM
kks,
You may have success with an OnHold client script.
Table: Incident
UI Type: All
Type: OnChange
FieldName: State
//Assuming your incidents are oob names and the state value of On Hold is 3
function onChange(control, oldValue, newValue, isLoading, isTemplate) {
var state = g_form.getValue(state);
if (isLoading || newValue === '') {
return;
}
if (state != '3'){
g_form.setValue('hold_reason', '');
}
}