System is adding using name automatically in Watchlist
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2023 03:09 AM
Hi All,
I have an issue, when user raise an incident system is adding his name in watchlist 3 times instead of one time and system is sending same mails 2 times when he add additional comes. Could you please help how to resolve this issue.
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2023 03:13 AM
Hi @Community Alums,
There will be some script which adds the user to the watchlist. Can you share that script with us?
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2023 04:22 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2023 04:41 AM
Hi @Community Alums
Use the last script as:
var watch_list = current.watch_list;
var current_user = gs.getUserID();
if (current.caller_id!=gs.getUserID()){
var new_watch_list = watch_list.split(',');
if (new_watch_list.indexOf(current_user) == -1){
new_watch_list.push(current_user);
}
current.watch_list = new_watch_list.join(',')
You can use the same logic in your other script.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2023 03:23 AM
Ill start by checking the BRs , that run on insert.