Task #351
closedWF - send notifications
100%
Description
Create example - use sendNotification in WF,
create new templates.
Related issues
Updated by Ondřej Kopr over 7 years ago
- % Done changed from 0 to 80
- disapproveIdentityRole,
- returnRequestIdentityRole,
- changeIdentityRole.
Update WF changeIdentityRoles, create script for sending notification via templates.
In templates agenda was replaced editor with simple text area - create new task with fix bug #359
Updated by Ondřej Kopr over 7 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Vít Švanda
- % Done changed from 80 to 90
I was tested this task in #342, Vitek please try to send notification and check text in mail.
Please i'm not able to add id for task to url, still is null.
Updated by Vít Švanda over 7 years ago
- Status changed from Needs feedback to In Progress
- Assignee changed from Vít Švanda to Ondřej Kopr
Looks and works awesome. Please completed:
- url to user profil
- In activiti groovy script you do not have to use "execution.getVariable("applicantUsername")", "applicantUsername" will be enough.
Updated by Vít Švanda over 7 years ago
- Priority changed from Normal to Immediate
Updated by Ondřej Kopr over 7 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Vít Švanda
- Priority changed from Low to Normal
Feedback upgrades from ZB:
Create new listener: TaskSendNotificationEventListener, this listener is for events: TASK_ASSIGNED, TASK_COMPLETED, TASK_CREATED.Listener send notification to topics: WF_TASK_CREATED and WF_TASK_ASSIGNED for topics is now only one template (in future we may implement another template).
Send message from WF may be disabled by:
- Application property - max priority,
- task property (sendNotification) - implement new form type (ConfigurationFormType, onlz for BE), type configuration is defined like String.
To tasks in WF changeIdentityRoles was added new property for skip send message (sendNotification).
Add information about newly created logic with notification into WF section.
https://proj.bcvsolutions.eu/ngidm/doku.php?id=navrh:workflow#odesilani_notifikaci
https://proj.bcvsolutions.eu/ngidm/doku.php?id=en:navrh:konfigurace_aplikace#notification_from_workflow
Please Vitek could you try to change roles with enabled notification and check newly created listener.
Updated by Ondřej Kopr over 7 years ago
I was added some integration test for WF notification + create new simple test WF.
Updated by Ondřej Kopr over 7 years ago
- Related to Task #402: Component for select script added
Updated by Vít Švanda over 7 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Ondřej Kopr
- % Done changed from 90 to 100
- Works and looks great.
- I improved AbstractComponentFormType for method "isExportableToRest". And forbade export in ConfigurationFormType.