How can be the user should not receive notification for approval from his manager

mania
Tera Contributor

Hi,

 

Only one particular user should not receive notification for approval from his manager, how to add this condition in notification or else any help on this.

 

Thanks in Advance!

8 REPLIES 8

sourav1999
Mega Guru

Sure, you can add a condition to the notification to exclude a specific user. Here's how you can do it:

 

1. Navigate to the notification record that you want to modify. You can do this by going to System Notification > Email > Notifications.

 

2. Open the notification record that you want to modify.

 

3. In the "When to send" section, you can add a condition to exclude the specific user.

 

4. Click on "Advanced condition" and add a script like this:

javascript

(current.approver != 'user_sys_id') //replace 'user_sys_id' with the sys_id of the user you want to exclude

 

5. Save the notification record.

This script will check if the approver is the user you want to exclude. If it is, the notification will not be sent.

Please note that you need to replace 'user_sys_id' with the actual sys_id of the user you want to exclude. You can find the sys_id of a user in the sys_user table.

Also, be careful when modifying notifications, as it can affect other users as well. Always test your changes in a non-production environment first.

sumanta pal
Kilo Guru

Sure, you can add a condition to the notification to exclude a specific user. Here are the steps: 1. Navigate to the notification record that you want to modify. You can do this by going to System Notification > Email > Notifications. 2. Open the notification record that you want to modify. 3. In the "When to send" section, you can add a condition to exclude a specific user. 4. Click on "Advanced condition" and add a script like this: javascript (current.approver != 'user_sys_id') // Replace 'user_sys_id' with the sys_id of the user you want to exclude 5. Save the notification record. This script will check if the approver is the user you want to exclude. If it is, the notification will not be sent. Please note that you need to replace 'user_sys_id' with the actual sys_id of the user you want to exclude. You can find the sys_id of a user in the sys_user table. Also, be aware that this will only exclude the user from this specific notification. If there are other notifications that the user should not receive, you will need to add a similar condition to those notifications as well.

@sumanta pal , @sourav1999

one particular User(eg.Anki) User's Manager(eg.Mani) should not receive any notification. 

Anki's Manager Mani should not receive one particular notification for ex: Timesheet notification regarding approvals.

Can you please help on this case.

Anand Kumar P
Giga Patron
Giga Patron

Hi @mania ,

1) Check user account is active.

2)Email field in user profile is empty.

3)User has disabled Notifications in his profile settings

AnandKumarP_0-1704537265978.png

AnandKumarP_1-1704537352092.png

 


Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand