It seems that if a request or verification is accepted by the manager, then the employee receives a notification.
But if the request or verification is denied, then no notification is made.
The logic of this escapes me, so perhaps I'm not understanding something. Is there a way to automatically generate a notification in this situation, other than requiring the manager to manually send a message?
Notifications for declined requests and verifications
Re: Notifications for declined requests and verifications
TimeTrex definitely sends a notification to the employee when a request is authorized or declined. Please make sure the employee has all notification types enabled in their preferences.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Help motivate us to continue by showing your appreciation!
Re: Notifications for declined requests and verifications
I made a series of requests, some accepted and some denied. Same with verifications.
In all cases, the acceptances generate a notification (both email and on the website), and declines generate no notification (neither email nor website).
The employee's notification page displays only the accepted items.
I have confirmed that the employee has all notifications enabled as shown in the screenshot.
In all cases, the acceptances generate a notification (both email and on the website), and declines generate no notification (neither email nor website).
The employee's notification page displays only the accepted items.
I have confirmed that the employee has all notifications enabled as shown in the screenshot.
Re: Notifications for declined requests and verifications
Please follow the instructions below to provide additional diagnostic information. Be sure to create a new request and decline it while diagnostic logging is enabled.
viewtopic.php?t=89
viewtopic.php?t=89
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Help motivate us to continue by showing your appreciation!
Re: Notifications for declined requests and verifications
Done. Thanks for your help.
Re: Notifications for declined requests and verifications
According to the log the employee has all notifications turned off, therefore no notification is sent.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Help motivate us to continue by showing your appreciation!
Re: Notifications for declined requests and verifications
I don't understand how that could be since the employee has no trouble receiving notifications from accepted requests.
I double checked the notification settings for that employee, and they were as shown in my screenshot, every notification enabled.
As a sanity check, I just created a new employee with the default notifications (all enabled) and found the same results. Accepted requests create notifications in the application and by email, declined invitations do not do either.
Any suggestions to further diagnose? I'm comfortable with PHP debugging.
I double checked the notification settings for that employee, and they were as shown in my screenshot, every notification enabled.
As a sanity check, I just created a new employee with the default notifications (all enabled) and found the same results. Accepted requests create notifications in the application and by email, declined invitations do not do either.
Any suggestions to further diagnose? I'm comfortable with PHP debugging.
Re: Notifications for declined requests and verifications
You are correct, that doesn't make sense if the employee receives the authorized notifications. We will investigate this further and see what we can come up with. Keep an eye on the release notes for the next version to see if we found anything.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Help motivate us to continue by showing your appreciation!
Re: Notifications for declined requests and verifications
Mystery solved, mostly.
After changing the employee's permission group from Regular Employee (Manual Punch) to Administrator, two additional disabled notification preferences were displayed for that employee:
I found that if a request or timesheet verification of a Regular Employee (Manual Punch) user is declined, then the respective notification preference is changed to off.
This is due to the code just below classes/modules/notification/NotificationFactory.class.php line 646:
//Notification is enabled, but user no longer has permissions that are linked too it, so disable the notification moving forward.
So, it seems there are two issues:
After changing the employee's permission group from Regular Employee (Manual Punch) to Administrator, two additional disabled notification preferences were displayed for that employee:
- Request Authorizations: Based on experimentation -- Required to receive declined (but not accepted) request notifications. Requires permissions:
- Requests Authorize
- Authorization Enabled
- Authorization View
- <Possibly others>
- Timesheet Authorizations: Based on experimentation -- Required to receive declined (but not accepted) timesheet verifications. Requires permissions:
- Punch -> view subordinates
- <Possibly others>
- Requests: Based on experimentation -- Required to receive accepted request notifications.
- Timesheet Verifications: Based on experimentation -- Required to receive accepted timesheet verifications.
I found that if a request or timesheet verification of a Regular Employee (Manual Punch) user is declined, then the respective notification preference is changed to off.
This is due to the code just below classes/modules/notification/NotificationFactory.class.php line 646:
//Notification is enabled, but user no longer has permissions that are linked too it, so disable the notification moving forward.
So, it seems there are two issues:
- The Request/Timesheet Authorization notification preferences should be displayed for all users who can receive Request/Timesheet authorizations.
- Those two notification preferences should be the ones required to receive notification of requests/verifications which are accepted as well as those which are declined.
Re: Notifications for declined requests and verifications
Sounds like you are on the right path, I will pass this information along to the developers, it should be resolved in the next release.
TimeTrex Community Edition is developed and supported by volunteers.
Help motivate us to continue by showing your appreciation!
Help motivate us to continue by showing your appreciation!