Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

UI Policy, does Visible work with Dotwalked fields?

tahnalos
Kilo Sage

I have a UI policy running with these following actions:

 

tahnalos_1-1782325134609.png

You'll notice that the field names are dot walked fields and we are trying to render them invisible in a specific scenario.  Except that we cannot.  We can render them read-only, but not invisible.

 

Is it possible that setting visible = false is not possible for dotwalked fields?

 

5 REPLIES 5

Aanchal Agarwa1
Tera Expert

Hey @tahnalos ,

Please check your UI Policy scope is same as target table scope.

Thanks

Did that.  Cannot render invisible dotwalked fields.

try client script and use g_form.setDisplay('complete field name')

Ankur Bawiskar
Tera Patron

@tahnalos 

try with onChange client script and see if that works

Example: g_form.setValue('complete field name')

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader