Defect #2383
closedAfter approving the task, a new notification is sent about the same task
100%
Description
Version: 10.4, 10.4.1
When approvers approve the task, they are notified again about assigning a task. But it's the same task they already approved.
Tested on project with different approval workflows for different priorities, and also on product. The extra notification is sent for all priorities.
- Enable notifications about the creation of an approval task:
idm.sec.core.wf.notification.send=true - Create a role with criticality 2 and some approver (jnovak)
- Assign the role to somebody
- Approve the role by the approver
- Check notifications - there is a notification corresponding to the time of approving the workflow
Files
Related issues
Updated by Alena Peterová over 4 years ago
- Category changed from Roles to Notification
- Assignee changed from Radek Tomiška to Vít Švanda
Note: It's somehow connected to 10.4; these notifications worked well in 10.3.3.
Updated by Vít Švanda over 4 years ago
- Status changed from New to In Progress
- Target version set to 10.5.0
Updated by Alena Peterová over 4 years ago
Simple workaround for our use case: deactivate the notification topic core:wfTaskAssigned.
Updated by Vít Švanda over 4 years ago
- % Done changed from 0 to 50
I tested this on version 10.3.1 and is it true. The assigne notification is not send in this version.
I found a cause. Problem were in versions previouse the version 10.4.0. Assigne notification should be sent, but there was a bug. The recipient for this notification was searching by username, but wf-task contains UUID in assignee.
Within implementation of delegations I fixed this bug and this is the reason why is notification sending now.
Assigne field is filled after a wf-task is completed and is uses as indicator for who completed this task. This cause why is this notification send after completed a task.
I suggest remove this notification / topic from next version, because I don't see good reason for this notification.
Updated by Vít Švanda over 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Vít Švanda to Radek Tomiška
- % Done changed from 50 to 90
I removed listener and sending notification on ASSIGNEE_TASK event.
Topic stays for compatibility reason.
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/8ba2c10cab86ceb3be2361b12ff58d33845395bc
Updated by Radek Tomiška over 4 years ago
- Related to Feature #984: Delegations in IdM added
Updated by Radek Tomiška over 4 years ago
- Status changed from Needs feedback to Closed
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 90 to 100
- Affected versions 10.4.0, 10.4.1 added
I did test and code review, notification is sent only once now, thx!