How to create system notification where notification should go to specific users?

Vishal_Jaiswal
Mega Guru

Requirement:
I need to configure a System Notification for the Incident table with the following logic:

  • If Assignment Group = Test Group and Assigned To = Abel Tutor

  • Then the notification should be sent to all members of "Test Group" except the assigned user (Abel Tutor).

What I Tried:

  • Created a notification record in sys_notification.

  • Defined the trigger conditions.

  • Added notification content in the Related List → Content → Next Experience (Subject + Body).

  • Tried defining receiver logic using an email script inside the Next Experience content.

Challenge:
The receiver logic is not working as expected — the notification is not being sent to the intended group members.

1 ACCEPTED SOLUTION

Hi @Ankur Bawiskar ,

Thanks again for your response and support.

Observation:

  • Case 1: In my official instance, when I add Assignment Group in the Who will receive tab, no bell notification goes to any user of the group. However, when I try the same in my PDI (Yokohama version), the bell notification goes to all users of the assignment group.

  • Case 2: In my official instance, when I add Assigned To in the Who will receive tab, the bell notification goes correctly to that user.

Conclusion:
It seems this may be either a platform/version issue (Official instance = Xanadu, PDI = Yokohama) or some configuration difference between the two environments.

Solution Implemented:
I changed my approach and found a working solution:

  1. Created a new Event.

  2. Added a Business Rule with logic to exclude the Assigned To user, and stored the sys_ids of all remaining users in the Assignment Group into a comma-separated array.

  3. Triggered the event in the Business Rule.

  4. Linked the event to a sys_notification record.

  5. Created a Next Experience content record for the notification body.

This approach worked successfully in my official instance.

View solution in original post

16 REPLIES 16

@Vishal_Jaiswal 

check my below response.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Ankur Bawiskar
Tera Patron
Tera Patron

@Vishal_Jaiswal 

If you are talking about Provider Notifications then you can configure the Recipients

Simply select the field Assignment Group and don't select Assigned to

But I think it will send notification to Assigned to user as well as that user will be member of that group.

AnkurBawiskar_0-1759474317454.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Thanks @Ankur Bawiskar ,

But this is not as per the requirement.

@Vishal_Jaiswal 

so please share screenshots.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@Ankur Bawiskar ,

Below i requirement.

I need to configure a System Notification for the Incident table with the following logic:

  • If Assignment Group = Test Group and if Assigned To = Abel Tutor

  • Then the notification should be sent to all members of "Test Group" except the assigned user (Abel Tutor).