- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 11:21 PM
Hey everyone, I am struggling to trigger notifications for each approver. For example, When case is generated,
First Approval Goes to team leader - Send Approval Notification to team leader...if TL Approves then
Second Approval goes to Manager - Send Approval Notification to Manager
Now I am trying to send notifications but it seems that
TL receives two notifications(one with TL Approval and second is with Manager Approval)
Manager receives two notifications(one with TL Approval and second is with Manager Approval)
FI: Separate 2 notifications, 2 email template are created for above
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 11:47 PM
var gr = new GlideRecord("sysapproval_approver");
gr.addQuery("approval_for",current.getUniqueValue());
gr.query();
while(gr.next()){
//This while will give you all the approvals related to the record
//Here you need to write a script saying the approval which is yet to be approved. In your case in first it would be Team Lead and then followed by Manager when this BR triggers for the 2nd time.
}
}
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 11:28 PM
Hi @Bhoomi Chaudhar ,
If you are doing it via workflow, I hope you have configured the notification 2 times.
Instead of directly adding the user to the notification, add them via email scripts.
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 11:33 PM
No, I am trying to fire based on event and event is called from Business rule. So my question is how can I identify Approver record(in approval table) for specific case and also make sure its not triggering two times. FI: I have created Flow for Approval process but it seems hard to send notification through it. So using events

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 11:41 PM
Since you are already using BR to trigger events.
Glide into approver table and fetch the approval record. there you can find the manager
in the event params send the manager id.
Let me know if you want code to find out the approval record.
Please mark correct if my response has solved your query.
Cheers,
Mohammed Basheer Ahmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 11:43 PM
@Basheer Thanks. Can you please share the record? It will be helpful