Ankur Bawiskar
Tera Patron

@keerthana10 

since you want fields to be shown based on some field type, why not use UI policy?

If my response helped please mark it correct and close the thread so that it benefits future readers.

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