- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2022 12:59 AM
I have created two UI policies on "sc_task" table as follows
1) Name/Short Description = Show Priority for Request Something Else
Order = 100
When to Run = "Request item.item" is "Request Something Else"
UI policy Action = priority field to make visible
2) Name/Short Description = Show Priority for VMP & SMART
Order = 100
When to Run = "Request item.item" is "SMART" or "Request item.item" is "VMP"
UI policy Action = priority field to make visible & read only
In this case only the 2nd UI policy is resulting. i.e. Making Priority field visible & read only on 'sc_task' record where 'Request item.item' is 'SMART' or 'VMP'.
But i also want to run 1st UI policy to result Priority field to be visible on 'sc_task' record where 'Request item.item' is 'Request Something Else'.
Please if someone can help me with this. Whether it is possible with UI policy or should i go for Client Script?
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2022 01:05 AM
Hi,
Please see if the checkbox "Reverse if false" is true on both UI policies. Uncheck it and try again.
Thanks and Regards,
Aman
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2022 01:29 AM
Ok,
Then you can write a third UI policy. And exclude the 3 requests from that like->
Request item.item <is not> abc etc.
And in ui policy actions -> make the priority field as visible - false.
This way except for the 3 requests, 'priority' will be hidden on all other requests. And if in future you want some other request to show 'priority', make sure to exclude that request in this UI policy else it will conflict.
Let me know if this works!
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2022 01:31 AM
for the third UI policy should i check reverse if false checkbox? or keep it unchecked?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2022 01:49 AM
No, keep it unchecked to avoid any conflicts. And put the conditions as below:
Request item.item <is not> abc 1
AND
Request item.item <is not> abc 2
AND
Request item.item <is not> abc 3
Please mark the answer helpful/correct based on impact!
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2022 02:27 AM
Yes Aman i tried it, its working fine even if reverse if false is checked. Should i continue with the same?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2022 06:25 AM