Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Make the fields readonly of the reference type variable once we clicks 'i' icon in ServiceNow

Sneha Karthik
Tera Contributor

Hi Experts,

 

I have a catalog item called 'Access Request' and I have 'Request Type' variable which has 'Onboarding' and 'Offboarding' drop down values in it.

 

SnehaKarthik_0-1742207963903.png

 

I select 'Onboarding' and I choose a location from another reference variable called 'Location'.

SnehaKarthik_1-1742208016259.png

When we choose a location and when we click on the 'i' icon on the reference variable we are able to see the location table details.

 

SnehaKarthik_2-1742208062369.png

 

Requirement:

When we choose 'Onboarding' and select any location from 'Location' variable and once we click on 'i' icon the table details which is popping up should be non-editable. But when we choose 'Offboarding' and click on 'i' icon of the location variable the table details should be editable.

 

Note: Location table is just an example the Reference type variable will be referring to a custom table.

This should be applicable in the native UI view as well.

 

If anybody worked on this type of scenario before, please help me to find a solution.

 

Thanks!

1 REPLY 1

Vishal Jaswal
Giga Sage
Giga Sage

Hello @Sneha Karthik 

Not possible however please check with ServiceNow via HI Ticket too: https://hi.service-now.com/now 


Hope that helps!