Feature #2074
closedSchedule a report and send it
100%
Description
- schedule that some report will be generated every day/hour/... (with predefined values of its parameters, if the report has some parameters)
- send the result of the generated report (XLS, CSV,...) when its done, so the admin doesn't need to login to IdM
The recipient of the generated report should be configurable when scheduling the report. Either owners of some role, or multiple identities.
Related issues
Updated by Radek Tomiška over 4 years ago
- Status changed from New to In Progress
Updated by Radek Tomiška over 4 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Radek Tomiška to Vít Švanda
- % Done changed from 0 to 90
Features are implemented:
- report can be scheduled now as standard LRT
- notification, when report is successfully creted was improved - attachments with rendered report added.
- report parameters and itom counter added into report agenda
- localization support added for custom report
- report can be executed again
Doc:
https://wiki.czechidm.com/tutorial/dev/create_report#send_notification
Commit:
https://github.com/bcvsolutions/CzechIdMng/commit/eca47409362c4d9f182bb21724ded6f8a3b7f251
Could you provide me a feedback, please?
Updated by Radek Tomiška over 4 years ago
- Related to Task #2482: Notification: add entity for attachments added
Updated by Radek Tomiška over 4 years ago
- Related to Task #2483: Notification: Notification topic select box added
Updated by Radek Tomiška over 4 years ago
- Related to Task #2484: Report: add product report localization added
Updated by Vít Švanda about 4 years ago
- Assignee changed from Vít Švanda to Roman Kučera
I did reivew and tested it. Works well.
In this solution I have one concern: Recipients of the scheduled report are defined in the topic only. It means one report cannot be send to fully different groups of users. For example first for admin ( scheduled every day) and second by individiual start same report by a user (in this case will be report send to the user who started a report and to the admin (because he is defined in the topic)).
Second problem I see in the Alena's wish to define recipient by role or by multiple identities (definition of a recipients on a topic are only by emails separated by comma).
Maybe are my concerns useless. Please @apeterova or @kucerar please confirm it is OK for yours useg.
Updated by Roman Kučera about 4 years ago
- Assignee changed from Roman Kučera to Vít Švanda
I test it locally and for my use cases I don't see any issue.
You have the option to run one report multiple times with different config and different topic.
If you want to run it manually without notification just configure new report and you are good to go.
Recipient configuration by role would be nice, because then you are able to manage recipients automatically by some automatic role for example.
Recipient configuration by role is not mandatory for me, but would be nice. I don't know if it's mandatory for @apeterova or not, so maybe wait for her opinion about recipients.
Updated by Radek Tomiška about 4 years ago
- Assignee changed from Vít Švanda to Alena Peterová
Updated by Radek Tomiška about 4 years ago
- Related to Task #2512: Notification: Configure topic recipinents by identity and by role added
Updated by Radek Tomiška about 4 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Alena Peterová to Radek Tomiška
- % Done changed from 90 to 100
Recipient configuration by role (or by identity) moved to related #2512.
Updated by Radek Tomiška about 4 years ago
- Status changed from Resolved to Closed
Updated by Radek Tomiška almost 4 years ago
- Related to Defect #2638: Feature "Run task again" doesn't work for multivalued attribute added