How to send delegated person email if user optied for delgation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2025 02:15 AM
I am integrating with third party for decision making as part of it I am sending the decision makers emails to them so that power automate will send the notification to them.
But what if the decision maker is already opted delegation then I should send delegate person mail instead original??
I also have another edge case what if the person opted delegation once after request already sent to power automate??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2025 03:04 AM
Sorry without you sharing what you implemented and what's configured along with screenshots, very difficult to help
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2025 03:11 AM
Actually for the approvals we are sending team notifications/outlook mails to approvers via power automate before sending them we are not validating whether he opted delegation or not but now we need to check if he not opted delegation then we can send his details directly to the power automate but if he opted delegation I need to send delegated person details if the trigger is happening with in the delegation duration.
How can we achieve this through script?
Even if we achieve this through script sometimes approver might opt delegation once he got the approval notification? can we address this through script??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2025 03:23 AM
check in delegate table and see if delegation is there for that recipient.
and based on that have script to pick that delegate user and send email to that user.
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2025 01:50 AM
thanks for your reply!! did you find anywhere related logic/script to do so?