Send mail to Delegates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2017 01:30 AM
Hi All,
Can anyone create an email notification to delegates when he is added as delegate.
The mail should only contain the fields which are checked(true).
Fields in delegate tables are:
Approval,
Assignment,
CC Notification,
Meeting Invitation.
Thanks,
Subramani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-06-2021 06:54 AM
Hi,
Need to know what is not working. is the email sent? maybe the variables are not showing properly?
Make sure that the notification is set to the correct table and that you have updated/inserted checked.
To test the script, go to background scripts (System definition -> Scripts - background) and run it from there:
var current = new GlideRecord('sys_user_delegate')
current.get('001a4f584ff94b40507a50528110c7a5') //<-- a sys id of one of the delegate records
if(current.approvals == true)
gs.print('Approvals: true' + '<br \>');
if(current.assignments == true)
gs.print('Assignments: true' + '<br \>');
if(current.notifications == true)
gs.print('Notifications: true' + '<br \>');
if(current.invitations == true)
gs.print('Invitations: true' + '<br \>');
The output should be (for any checked box)
*** Script: Approvals: true<br >
*** Script: Assignments: true<br >
*** Script: Notifications: true<br >
*** Script: Invitations: true<br >
harel

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2021 01:24 PM
So just to confirm. When a user is made a delegate, there is nothing out-of-the-box which notifies that user that he is now a delegate?
You have to roll your own notification?
(That surprises me; so just wanted to confirm.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2021 03:19 AM
Not that I know... you probably have to create your own notification, yes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-31-2017 03:31 AM
Hi,
Notifications are automatically triggered to the Delegated Users OOB. So you don't need to Configure any Notification for Delegation separately.
Simply Configure your Delegate Form and that would do as shown below:
Only thing to keep in Mind is Delegation is Not retroactive i.e. If there are any pending Approvals before the Delegation Begins The Delegate Users won't receive those Notifications.
Hope this helps.Mark the answer as correct/helpful based on impact.
Regards,
Shloke
Regards,
Shloke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-03-2017 01:01 PM
Hi,
Did you got a chance to Test the Solution provided for your query.
If your query is Resolved, Please mark the answer as correct so that the thread can be removed from the Unanswered list.
Regards,
Shloke
Regards,
Shloke