Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Updating tag addition

John Sudhakar
Tera Contributor

Hello All,

I want a script on how to automatically add a comment in worknotes whenever I add a tag to tasks.

 

Thanks

1 REPLY 1

J Siva
Kilo Patron
Kilo Patron

Hi @John Sudhakar 

You can achieve this via business rule.

PFB.

1. Create after busines rule on label_entry (Tags) table. In the below sample I've used condition where this business rule will be triggered only when someone adds a "Test tag". 

Note: "Test tag" has been created and shared with everyone. So anyone can use this tag. It's global.

Screenshot_20250327-194104~2.png

Screenshot_20250327-194133~2.png

 

Hope this helps.

Regards,

Siva