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.

Get table name from the list view

Sudhir10
Tera Contributor

Hello,

 

I want to get the table name from the list view of the table using the script.

 

Any help will be appreciable.

 

Thanks.

1 ACCEPTED SOLUTION

Prathamesh G
Kilo Sage

Hello @Sudhir10,

 

You can use the 'getTableName()' in your script by either using 'current' or variable name you have declared to get the table name from the list view. 

 

var tableName = current.getTableName();

 

If the above solution resolve your issue, Please mark the solution as Accepted Solution and also mark it as Helpful.

 

Thank You.

Prathamesh

View solution in original post

5 REPLIES 5

Hello @Sudhir10

 

If the above solution resolve your issue, Please mark the solution as Accepted Solution and also mark it as Helpful.

 

Thank You.

Prathamesh