how to add condition in notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 08:45 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 10:37 PM
Hi @Dibyaratnam
in that notification send when condition is triggered, it means is there any existing flow triggering to this notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 10:51 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 11:04 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 09:38 PM
Mark 👍 Helpful if my solution solves your issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 09:48 PM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader