Set dynamic recipients in the notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2024 07:27 AM
Hi everyone,
There is a list collector variable on a catalog item referencing to Users table.
So, in the flow designer I am firing an event which triggers a notification.
So, now the recipients (Who will receive) in the notification should be the users selected in the list collector variable.
Can someone tell me how to achieve this ?
Regards,
Pallavi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2024 08:21 AM
Hello Pallavi,
If you are referencing the user table, then that means all the users on that list will receive a notification, I believe you have to specify the user name or group that would receive the email.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-09-2024 09:56 AM
@Pallavi65 Please review - https://www.servicenow.com/community/developer-blog/using-list-collector-in-flow-designer-for-each-l...
Once you convert the list collector values into the array of strings, you can use the Send email action in flow to send notifications to the users stored in the array.
If my response helped you, please click on "Accept as solution" and mark it as helpful.
- Saloni