How to get workspace tab index in client script?

Akanksha1
Tera Contributor

How to get workspace tab index (main Workspace tabs, not the subtabs within a record) in client script?

2 REPLIES 2

Laveena-Agarwal
Kilo Sage

Hi @Akanksha1 

Share your requirement in detail please.

I want to display an alert message when the user opens the 9th workspace tab.

 

I am aware that ServiceNow already shows a default popup when the 10th tab is opened (max limit reached). I want to show a custom alert on the 9th tab in addition to the OOB message on the 10th tab.