- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 07:27 AM
Hi,
I have a flow where it create a events, in the field param1 how can i pass multiple recipients
if i just drags the data from pannel and activate the flow in the eventlog it is taking both the recipients sysid as one and the notification is not trigerring.
can some one suggest me a solution so that it takes two recipients without using param2
Solved! Go to Solution.
- Labels:
-
flow designer
-
Notifications
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 08:17 AM
please use this and it should help you
you need to use script section to set the comma separated values
Click the fx icon and add this script
var str = fd_data.trigger.current.task.assigned_to.manager.toString() + ',' + fd_data.trigger.current.task.opened_by.toString();
return str;
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 08:02 AM
Thats really strange. Try adding comma manually between 2 users and check once.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 08:11 AM
it seperated the users when comma is added but the notification is not triggering

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 08:15 AM
Great. now check if the event is processed. If yes, then go to system logs and check if the notification is triggered or is there any error.
Also confirm if your notification is listening to that event or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 08:17 AM
please use this and it should help you
you need to use script section to set the comma separated values
Click the fx icon and add this script
var str = fd_data.trigger.current.task.assigned_to.manager.toString() + ',' + fd_data.trigger.current.task.opened_by.toString();
return str;
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2021 01:58 AM
Hope you are doing good.
Did my reply answer your question?
If my response helped you please mark it correct to close the question so that it benefits future readers as well.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader