Is there a way to modify what swimlanes appear globally on a visual task board

swan
Kilo Contributor

Hi -

I have a data driven VTB that we are using for workload tracking.  I have a filter setup to only give me a subset of incidents on this board.  Is there a way to hide specific swimlanes either as a global preference or hide any lanes where no results are present? 

To be more specific I have a filter on Category.  there are 52 categories but I only need to see it for 8 of those categories - is there a way to hide the other/unused/empty 44 categories for the board as a default as opposed to all users having to adjust their advanced settings to hide those 44? 

Thank you.

2 REPLIES 2

sachin_namjoshi
Kilo Patron
Kilo Patron

You will have to build custom solution for this requirement.

There is OOB script include "VTBGetBoardsByUser" which is used OOB to get VTB swim lanes by logged in user.You will need to update this script include function to override behaviour and return boards based on data present or not.

You will have to query vtb_lane table to filter out lanes with no data.

Use below as guide which as all OOB objects installed with VTB.

 

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/use/visual-task-boards/reference/r_InstalledWithVisualTaskBoards.html

 

Regards,

Sachin

 

 

Nandini22
Tera Contributor

HI @swan did you implement this functionality to hide the swim lanes based on the data/cards available? As I currently have the same requirement in my project. 

Please assist.