- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2019 02:38 AM
Hi All,
I have a field on incident form as "follow up status" which is having 4 choices as below.
So, whenever this field changes to New, In progress and On Hold the incident state "Resolved" should be hidden.
I have tried the following UI Policy. It is working when the followup status is (New/In Progress/On Hold), I am able to hide the resolved choice from incident state without saving the form. If I save the form I can see the resolved state as normal.
And also it should be visible when the follow up state is completed. That is also not working.
UI Policy condition:
Script in UI Policy:
Please correct me If I am wrong.
Thank you,
Priya.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2019 02:56 AM
Hi DVP,
I have set on load to TRUE, it is working for New, In Progress and On Hold.
But when it comes to completed it is working only when I change the follow up status from None to completed. It is not working when I change it from New to Completed, In progress to Completed, On Hold to Completed.
please suggestion what is wrong in this..
Thank you,
Priya.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2019 02:40 AM
On UI Policy set on Load to TRUE and try again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2019 02:56 AM
Hi DVP,
I have set on load to TRUE, it is working for New, In Progress and On Hold.
But when it comes to completed it is working only when I change the follow up status from None to completed. It is not working when I change it from New to Completed, In progress to Completed, On Hold to Completed.
please suggestion what is wrong in this..
Thank you,
Priya.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2019 03:06 AM
in the else part of the script try
g_form.addOption('incident_state','6', 'Resolved');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-16-2019 03:10 AM
Hi DVP,
Yes, it is working now. Thank you 🙂
Thanks,
Priya.