Tags - How to check whether a record has tag/s

Aishwarya Shukl
Kilo Contributor

Hi ,

I have a requirement where I need to filter all the records on the task table which have tags attached to them.

These tags are stored in the Labels table.

But when I open a list view with the column 'Tags', I cannot do 'Filter Out' for the empty tags.

In the filter as well, there is only option available for tags, i.e, to give the tag name. How do give the filter like is 'Empty'/' is not empty' ?

Any solution would be helpful.

Thanks in advance,
Aishwarya

9 REPLIES 9

Ankur Bawiskar
Tera Patron

Hi Aishwarya,

just try this

just add the filter on tag and leave it blank and run

Something like this and click Run

find_real_file.png

Regards
Ankur

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

Hi Ankur,

This seems to work.

This should do the job for me.

Thanks,

Aishwarya

@Aishwarya Shukla 

Nice to hear.

Please mark my response as correct and helpful so that this thread can be closed and others can be benefited by this.

Regards
Ankur

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

@Aishwarya Shukla 

I hope your question is answered as per solution provided in my previous comment.

Please mark my answer as correct and helpful so that this thread can be closed and others can be benefited by this.

Regards
Ankur

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