How to send to send notification to group members only while having a group email defined.

johnnyw
Mega Expert

Hi,

I have a catalog item that has a workflow with a few tasks.  When those tasks are generated, those tasks get assigned to groups.  Each of those groups have a group email setup.  When those tasks get generated by the WF, a notification is sent to the group email for the groups.  This is working perfectly. 

 

However, I also have a SLA setup to send reminders notification when the tasks are not completed.  For these notifications, I want to send an email to all members of the group and not the group email.  How can I just send an email to the group members in the SLA workflow notification?

Right now, I am using  a "Create Event" activity in the SLA WF and using "current.task.assignment_group" as the value for Parameter 1.  However, this is only sending to the group email address and not to the members of the group.  I need this to email the group members only.

Any help is appreciated.

Thanks,

Johnny

 

2 REPLIES 2

Bryan Tay3
Mega Guru

hi Johnny, 

I think you can achieve this by utilizing param1 by break it down to individual member in the group instead of sending it to the group itself.

Ensure the Event you use -> Notification has the "Event parm 1 contains recipient" ticked.

Instead of "current.task.assignment_group" as param1, get a list of comma separated users in the group.

example:

https://community.servicenow.com/community?id=community_question&sys_id=3993c765dbd8dbc01dcaf3231f96199f

 

Hope this helps.

prashantdharne
Tera Contributor

Hi John,

 

 

There is a field on Group Table called "Include Members". Can you try turning this On? What it does is sends email to all users even when group email is supplied. I havent tried it but it should work.

 

Let me know if this solution works for you. 

 

find_real_file.png