Add users to the watchlist through a workflow

rachelconstanti
Mega Sage

I have a need where I need to add 3 users to the RITM watchlist of one catalog item.
I would like to do this through the workflow if possible.

Any way to accomplish this?

Thank you,

Rachel

2 ACCEPTED SOLUTIONS

SanjivMeher
Kilo Patron
Kilo Patron

In the workflow, you can use SetValue activity to set the watch list. Or use runscript, if you have to script and assign users to watchlist.

Also if it is a new catalog, the recommendation is to use flow designer since ServiceNow will not provide support for workflows.


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

Harish KM
Kilo Patron
Kilo Patron

Hi @rachelconstanti yes possible via workflow, how are you going to get those 3 users?

current.watch_list = 'sysid'+ ','+curre t.fieldname;

Regards
Harish

View solution in original post

4 REPLIES 4

SanjivMeher
Kilo Patron
Kilo Patron

In the workflow, you can use SetValue activity to set the watch list. Or use runscript, if you have to script and assign users to watchlist.

Also if it is a new catalog, the recommendation is to use flow designer since ServiceNow will not provide support for workflows.


Please mark this response as correct or helpful if it assisted you with your question.

It is an existing catalog item and workflow.

I will try using the SetValue activity - that may just work..

Harish KM
Kilo Patron
Kilo Patron

Hi @rachelconstanti yes possible via workflow, how are you going to get those 3 users?

current.watch_list = 'sysid'+ ','+curre t.fieldname;

Regards
Harish

the users are in the sys_user table.

where in the workflow do I put this and what is needed?