How to hide variable editor conditionally

Ramkumar Rajend
Tera Expert

Hi Folks,

I need to hide variable editor based on variable values on RITM form level. Can anyone suggest some inputs on this? Also I need to display variable editor for some other conditions.

Regards,

Ram

12 REPLIES 12

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Ram,



If you are on Calgary, you should be able to do this with the help of UI Policy.You should be able to see couple new checkboxes on UI policy to apply it on item and task level.


Hi Pradeep,



That looks fine, I need to hide the entire variable editor based on one flag value in RITM, not particular variables. I agree your point on using new check boxes on Catalog UI Policy, but can you please let me know in my scenario what I can do?


You can add the condition in the UI policy which will run when it gets satisfied..In UI policy you can add the variables to be hidden.


Community Alums
Not applicable

Hi Ram,



Variable editor is a kindof UI Macro.I would suggest you to use a UI policy and hide the required fields.



Regards,


Kirti