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.

Adding group to Catalog Task watchlist

ChadWilhelm
Tera Contributor

Hello,

I have a flow where I am doing a lookup on a group and looping through and adding to flow variable.   Then I would like to add to watchlist.   Any assistance is appreciated.

Screenshot 2025-11-12 at 10.59.11 AM.pngScreenshot 2025-11-12 at 10.56.59 AM.pngScreenshot 2025-11-12 at 10.57.16 AM.png

1 ACCEPTED SOLUTION

JenniferRah
Mega Sage
Mega Sage

You're looking up the sys_user_grmember record but passing back that record's sys_id. You'll need to change that peice of your code to: 

 

fd_data._4__for_each_item.user.sys_id.toString()

 

View solution in original post

2 REPLIES 2

JenniferRah
Mega Sage
Mega Sage

You're looking up the sys_user_grmember record but passing back that record's sys_id. You'll need to change that peice of your code to: 

 

fd_data._4__for_each_item.user.sys_id.toString()

 

ChadWilhelm
Tera Contributor

Thanks Jennifer.