How to send notifications to multiple users in create event?

Ed23
Tera Contributor

Hello,

I would like to know how I can send messages to multiple users using "create event" activity, for example.

If the sla reaches 50%, a notification is sent to the assigned user, when it reaches 80% a notification is sent to the assigned user and to user A, the second user who receives the notification will change depending on the assigned group. If the group is "Production" and the sla reaches 80%, a notification is sent to the assigned user and user B. If the group is "Security" and the sla reaches 80%, a notification is sent to the assigned user and user C.

Thanks.

find_real_file.png

1 ACCEPTED SOLUTION

Hi Ed,Try this in Param1

(function() {
return current.task.assigned_to + ",xyz@gmail.com";
}());

 

you can also add in your notification directly ( Note that every time this notification is triggered the user will be included in recipients)

find_real_file.png


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

View solution in original post

10 REPLIES 10

BALAJI40
Mega Sage

Hi,

use the parm1 and parm2 in the create event queue activity.

Mention the user sys id's on each parameter and in the email notification, under whom send section check both event parm1 and parm2.

Note: If you want to send notification to all the group members then just mention the group sys id.

 

Ed23
Tera Contributor

Hello Balaji,

Can you please give me an example?

Thanks.

Voona Rohila
Kilo Patron
Kilo Patron

Check your event activity if recipients are passed from param1/param2.If yes then you can send any number of users as per your requirement from parm1/parm2.

if recipients are configured in notification then you can add more users in notification itself.

 

Let us know if you need help in configuring, also share create event activity screenshot.

 


Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP

Hello Rohila,

Can you please give me an example?

Thanks.