- 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 07:42 AM
Hi,
As per the screenshot, i see there is only 1 user that exists in param1. Did you drag the other user into parm1?
can you also share the event log once to understand the issue. ARe you saying there is no comma between both users?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 07:54 AM
yea, there is no comma between two users in the log it is taking as single string
1. the above sceenshot hasonly one recipient then the event log is and notification working fine
2. if the flow has two recipients then the event log is as below , notification not working bcz users are not identified
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2020 07:58 AM
Hi,
As per your flow screenshot you are setting event parm1 as Assigned To -> Manager
So it will have only 1 sys_id
I didn't get how it would have 2 sys_ids
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:01 AM