Automate labels/tags

I love having things organized.

I hate manual tasks.

So I’ve been playing with Automate labels/tags in ServiceNow to try and achieve both goals.

How can we automate labels/tags?

It took me a while to find this information in the ServiceNow Docs. It’s a bit hidden at the bottom of an article with general information about administering tags.

  1. Navigate to All → System Definition →Tags.
  2. Open the tag that you want to assign automatically.
  3. Configure the form to add the Conditions for Labels embedded list.
  4. Create a row in the Conditions for Labels list.
  5. Click the reference icon in the Table column. The Label Table list opens in a pop-up window.
  6. Click New.
  7. Enter a Name, select a Table, and add conditions for the automatic assignment of the tag.
  8. Click Submit.
  9. Click the check mark icon to save the new row.
  10. Click Update.

Easy right?

Too good to be true! 🙁

Known issue

Unfortunately, it doesn’t work when you use dot-walking.

For example, let’s say you want to automate a label in the sprint tracking board to quickly see the stories that are not blocked.

Create a label on your board

Create a new record in Label Table [label_table]

Title: Non-blocked story

Table: Visual Task Board Card [vtb_card]

Conditions: Task→Story→Blocked is false [task.ref_rm_story.blocked=false^EQ]

Link Label and Lable Table

You find the label you created in your VTB in the Label [label] table.

And you can link this Label Table to your Label as shown in the GIF below.

It will work initially when you set up the configuration. The ”Label Auto Assignment” Business Rule will be triggered and labels/tags will be added to the matching records.

But it won’t be triggered automatically when you update the Story. It will only be triggered when you update the actual VTB Card (e.g. changing lane).

I opened a ticket to ServiceNow support and they acknowledged this issue, but they won’t fix it.

You can check this article with a workaround: Visual task board: filter unassigned tasks

1 thought on “Automate labels/tags”

  1. Pingback: Visual task board: filter unassigned tasks » Ruben Ferrero

Comments are closed.