Expand my Community achievements bar.

API search note, filter tag

Avatar

Level 10
I'm trying to look for notes that have no replies and is not a reply and has no users tagged in it to see how often it happens. If I just ran https://instance.my.workfront.com/attask/api/v7.0/note/search?isReply=false&hasReplies=FALSE&fields=*,tags:*, I see areas where tags:[] indicating that the user has not tagged anyone. What can I add to my search criteria to filter to see only where users are not tagged? I've tried &tags:ID_Mod=isnull and it's not returning any data. Segue to request upvoting an idea: "https://support.workfront.com/hc/en-us/community/posts/115006955648-Prevent-an-update-thread-starter-from-sending-if-no-one-is-tagged">https://support.workfront.com/hc/en-us/community/posts/115006955648-Prevent-an-update-thread-starter... Polly Co
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

API
5 Replies

Avatar

Level 10
Good question, Polly. I'd like to know this too, but I suspect it's not possible. What are you using to process the results of these queries? I presume you can filter it out after the query, but obviously this is inefficient so hopefully there is a search parameter which can filter it out. David Cornwell

Avatar

Level 10
Hi David, I plan to run code and yes, the only way I can think of looking at the data now is to process after the query, making it 2 parts and inefficient. That's why I'm wondering if others know of a way to query notes and the tag = is null in one. Regards. Polly Co

Avatar

Level 10
@David Cornwell , I got the answer to this from leap. tags:ID_Mod=empty should filter properly. Regards. Polly Co

Avatar

Level 10
That makes sense! Cheers David Cornwell

Avatar

Level 10
I stand corrected on this one. Just had time to test this solution, it's not working. tags:ID_Mod=empty just shows me everything that actually have tags, not the opposite. :( Polly Co