- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2022 01:22 AM
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.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2022 01:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2022 01:31 AM
current.work_notes_list== is this a typo?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2022 01:37 AM
oops my bad
Thanks for the answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2022 01:40 AM
Hi Jaspal singh,
is there a way to remove those users from watchlist and worknotes list if assignment group changes?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2022 01:42 AM
Yes, checkout thread for the solution.