How to add users from watch list to the CC of email notification
This content was last updated in 2023. It may still be useful, but could contain outdated information. Please confirm its accuracy before relying on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 03:18 AM
Hi all,
I have a requirement where i need to add all the watchlist users to the CC of email notification.
I have written the mail script but not getting the outcome.
Could someone help me on this.
Tried putting logs.
Log inside while loop is not coming.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 04:02 AM
Tried the same way earlier as well but still not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 04:05 AM
You are getting the log lines?
Do you only have users, or also emailaddresses in the watch list?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 04:09 AM
I am not getting the log inside while loop apart from that all other logs are printing.
I have only users in the watchlist and not the email ids
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 04:19 AM
Just tried it in my instance. Script works as it should.
Please try the query you are running manually, to see if the users can indeed be found.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2023 04:07 AM
what debugging have you done so far?