"Clear the variable value" disappeared

beatricelopes
Tera Contributor

Hello guys
I came to report and ask for help with this weird thing that happened to me this week
I created an UI Policy inside a variable set

but the UI Policy Action is not letting me set the "Clear the variable value" as true
Actually, this field is not even on my screen

Screenshot 2024-08-26 105052.png

I checked other UI Policies and everything seems normal, then back to my UI Policy action I checked form layout and form designer and the field is there, but does not appear to me in the ui policy action

Screenshot 2024-08-26 105126.png

I am going to solve this with scripting
But does anyone have any idea why this is happening?
I did not found anything similar on the community

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Assuming you are on the Washington DC release:

Its all explained in this article I wrote not that long ago 🙂

- 2024-06-17 - Article - No code Clear the Variable value / Set Variable values (Washington DC)

 

MarkRoethof_0-1724686020436.png

 

 

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

3 REPLIES 3

Brad Bowman
Kilo Patron
Kilo Patron

Check the UI Policies on the UI Policy Action form (right-click the grey header bar, Configure > UI Policies).  If you have one with a UI Policy Action on the cleared field, inactivate that.

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Assuming you are on the Washington DC release:

Its all explained in this article I wrote not that long ago 🙂

- 2024-06-17 - Article - No code Clear the Variable value / Set Variable values (Washington DC)

 

MarkRoethof_0-1724686020436.png

 

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

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

LinkedIn

Sandeep Rajput
Tera Patron
Tera Patron

@beatricelopes Apart from what Brad, you can also check if there is any onLoad script working on sys_ui_policy_action which is hiding this field.