I have a requirement to show the form section tab only when it is submitted from a particular Recor

Sprankle
Tera Contributor

I have a requirement to show the form section tab only when it is submitted from a particular Record producer ,created Display Business rule and Onload client script its is working but after refreshing the page twice then it is showing  the tab section. Need suggestion

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Sprankle 

share your scripts here along with screenshots.

If it's working fine then it should work all the time and should not get impacted after refresh

Did you add log for what came in g_scratchpad and alert in client script?

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

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

 

with alert its showing proper value but tab is showing correctly but its taking time to show the result

@Sprankle 

So it's working fine when form loads.

when you refresh the form again it doesn't work

If you are saying it works fine but takes time then you need to check on your form what all client scripts or UI policies are running and those might be taking long time.

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

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