How can I get the current user department group in the email script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-22-2025 07:22 AM
I want to get the current user department group in the email script
based up the department group it should redirect the user to the portal
how can I achieve this
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2025 01:32 AM
Hi @shruthij ,
If the email script is used within notification which links to User[sys_user] table, just use "current.department".
If not, user GlideRecord query to get user's department.
Example scripting for email notifications
Thanks.