How to clear selection

SNOW39
Tera Expert

I have the below select feature field. When i change the selection of select feature, the action option ,which by default is doesn't select any of the option, should be remove the slection and be back to 'no option selected' format. How to do this?

find_real_file.png

1 ACCEPTED SOLUTION

Mark Roethof
Tera Patron
Tera Patron

Hi there,

 

Have you tried a UI Policy which has the "clear the field value" set to true?
Or a onChange Client Script, with something like:

g_form.clearValue('action_field_or_something');

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark

---

LinkedIn
Community article list

 

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

5 REPLIES 5

Tadz
Tera Guru
Tera Guru

You could create a UI Policy

and a UI policy action of clear the variable value

find_real_file.png