how to add condition in notification

suresh101
Tera Contributor

there is one requirement if assignment group is XYZ then notification will not trigger, there is one OOTB notification called 'Problem Closed inform Opener', in this notification in when to send section , send when condition is triggered like below, how can I add condition in particular notification

suresh101_0-1702529135036.png

 

16 REPLIES 16

Hi @Dibyaratnam 

in that notification send when condition is triggered, it means is there any existing flow triggering to this notification

You have to check that if the notification is getting triggered by record creation or updation. If it's, without you making any changes, then it's being called. Then you can check the Flows executed and go to that particular flow.

Hi @suresh101 
If you have to not change the send when condition then you want to create a new flow and add your condition in if statement and trigger the notification by adding the action Send Notification. (As per above photo.)

Mark Helpful if my solution solves your issue.

Pradnyesh
Kilo Sage

Mark 👍 Helpful if my solution solves your issue.

Ankur Bawiskar
Tera Patron
Tera Patron

@suresh101 

you can use advanced notification condition

answer = current.assignment_group.name != 'XYZ';

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