Task #924
User Story #916: Review/Approval workflow: Basic solution
Basic Workflow messaging
Added by Kurt Gerber over 8 years ago.
Updated almost 8 years ago.
Assignee:
Lukas Vonlanthen
Description
- Invlved users (roles) should receive a message, when a case takes a step in the workflow
Stub for requirements:
Requirements:
Model:
- Each action in the publication cycle generates a message
* List of relevant statuses is configurable
* Users can activate/deactivate receiving messages (globally, not per questionnaire)
* Unsubscribe-link is on the bottom of the mail
- New properties for the User: unread_messages, language
- tbd: Store 'responsible' person, permitting the action?
Model:
sender (fk)
receivers (fk)
questionnaire (fk)
status (text; choices)
created (auto_now_add)
Mails:
- Mail is sent by the local smtp server (is up & running)
- Mail is sent asynchronously, sending mail must not block a review action. For now: crontab - later: maybe celery
- From (and reply-to) is configurable
- Mail subject line is: QCAT: <questionnaire name> is now <new status>
Frontend:
- Display new messages
- List view: all messages
- Mark messages read
- Status changed from New to In Progress
- Priority changed from Normal to High
- Target version changed from WOCAT core productive release to QCAT Backlog
- Status changed from In Progress to Feedback
- Status changed from Feedback to Closed
Also available in: Atom
PDF