I've verified this yesterday already, this is all you need (and ofcourse another UI Policy for the devices):

 

MarkRoethof_0-1724917086724.png

 

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Just tested, it is indeed your setup that is wrong. You should use Clear the Variable value = true in combination with Visible = false.

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

Thank you so much Mark. To clarify my confusion regarding misconfiguration.

Also see this article I wrote 5 years ago:
https://www.servicenow.com/community/developer-articles/clear-the-field-value-clear-the-variable-val...

 

MarkRoethof_0-1724870032385.png

 

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Ramz
Mega Sage

Hi @Yogita11_ ,

 

In Ui Policy you have options as applies to catalog item, applies to Requested Item ,in that check on catalog item alone so that it will work only on portal

Please mark my answer helpful/correct if it resolved your query

Thanks