Add users to Worknotes list

Shiva Kumar8
Kilo Guru

Hi,

I want to add user ABCD to work notes list and E in watchlist for a request if assignment group is X or Y

I'm using the below script

current.watch_list="sysid of E".toString();
current.work_notes_list=="sysidA".toString()+","+"sysidB".toString()+","+"sysidC".toString()+","+"sysidD".toString();

I wab able to add the E to watchlist but ABCD are not adding into the worknotes list I'm I doing anything wrong in the script please help, 

also if assignment group changes from X or Y to some other group the watchlist and worknotes list should clear the values.

please help.

Thanks.

1 ACCEPTED SOLUTION

Jaspal Singh
Mega Patron
Mega Patron

current.work_notes_list==  is this a typo?

View solution in original post

5 REPLIES 5

Jaspal Singh
Mega Patron
Mega Patron

current.work_notes_list==  is this a typo?

oops my bad 

Thanks for the answer.

Hi Jaspal singh,

is there a way to remove those users from watchlist and worknotes list if assignment group changes?

Yes, checkout thread for the solution.