Tag for catalog task !!

SandeepKSingh
Kilo Sage

Hello,

I’m working on adding a tag to a catalog task using Flow Designer, and I want to leverage that tag in a client script to apply specific logic to tasks and their variables that are tagged accordingly. If there’s a better approach to this, I’d really appreciate some advice!

My questions are as follows:

  1. How can I add a tag to a catalog task within Flow Designer?
  2. Could you provide an example of a client script that checks if the task has the tag “abc”?

I noticed that when creating a catalog task in Flow Designer, there’s an option to assign tags, but I want to make sure I’m following the best practice.

SandeepKSingh_0-1738153224665.pngSandeepKSingh_1-1738153245520.png

 

2 ACCEPTED SOLUTIONS

Ravi Gaurav
Giga Sage

Hi @SandeepKSingh 

I found a similar.. thread that might help you .. do check 
https://www.servicenow.com/community/developer-forum/flow-add-tag-to-catalog-task-find-that-tag-in-c...

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

View solution in original post

3 REPLIES 3

Ravi Gaurav
Giga Sage

Hi @SandeepKSingh 

I found a similar.. thread that might help you .. do check 
https://www.servicenow.com/community/developer-forum/flow-add-tag-to-catalog-task-find-that-tag-in-c...

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

SandeepKSingh
Kilo Sage

Thanks @Ravi Gaurav and @Sandeep Rajput bingo.. this is what I was looking for