Flow: Add tag to catalog task & find that tag in client script

NFGDom
Mega Sage

Hello!

I'm trying to add a tag to a task via the flow designer. I want to use the tag so I can look for it within a client script and apply specific logic to tasks & their variables that have the tag. If there is a better method of doing this I'd appreciate advice!

My questions:

-How do I add a tag as part of the flow designer to the catalog task?

-What would an example client script look like to see if it has "XYZ" tag?

So far in the flow create catalog task I see there is an option to assign tags.

find_real_file.png

However when the task is created no tag is assigned to the task.
find_real_file.png
find_real_file.pngIIn the flow context record it looks like its trying to add the tag:

find_real_file.png

 

Thoughts and feedback welcomed!

Thanks!
Dom

1 ACCEPTED SOLUTION

Jon23
Mega Sage

Hi @NFGDom 

One solution would be to remove the wait from the Catalog Task creation, then create a Label Entry Record.

If you need the wait then add a 'Wait for Condition' action after creating the tag.

example:

find_real_file.png

View solution in original post

3 REPLIES 3

Jon23
Mega Sage

Hi @NFGDom 

One solution would be to remove the wait from the Catalog Task creation, then create a Label Entry Record.

If you need the wait then add a 'Wait for Condition' action after creating the tag.

example:

find_real_file.png

Thanks, this worked for me! I was trying to do it all on the create catalog task and it just didn't like that. Breaking it out seems to be the way to go.

Appreciate it!

Dom

scottl
Kilo Sage

Heads up for anyone else wanting to know about tagging SC TASKS within Flow. As of today, 3 years later - Xanadu, the basic premise of adding tag values against a sc_task STILL does not work within this "NEXT Experience", even thou the field is there to be "populated".