You might know about this old feature called "labels". Well, now their called "Tags" but back then they were labels. In the New York release ServiceNow broke them. Here's the short version. Instead of giving the right users visibility to the tags, everyone can see any tag on a Virtual Task Board (VTB).
How can you see this problem? Take these steps;
Steps to reproduce
- Log in to Dev
- Create a visual task board.
- Add a new Label
- Apply the label to a record on your VTB
- Add a user on the VTB
- Impersonate some other user (not the user in 5)
- Go to a list and show the tags column
- Start typing the tag name in the tag column, you'll see the tag created in 3.
ServiceNow did the right thing moving to a central place to deal with label/tags.
But, they should have used permissions to control who can see them based on the task board.
I opened a HI ticket ally was able for them to give me a work around.
I didn't write this code, it worked for me in my tests. It's saved some other work too, but read the code and ensure it's doing what you think it should.
- Fix Script "Make VTB Labels Inactive
- Business Rule "Make VTB Labels Inactive
- Business Rule "Make non-VTB Labels Active