Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-1547

Workflow: send mail to PM if one user finishes a task

    XMLWordPrintable

Details

    • -

    Description

      problem

      Assume a task with several users assigned as proofreaders. If one of the proofreaders is not available (illness, vacation, whatever) he probably will not finish the task assigned to him. Although the user has finished, this task remains open although the work was done by the other proofreaders.

      solution

      Implement a new email notification for the PM which is sent if a single user finishes his job.

      The mail contains the name of the user which has finished his job, also a list of all associated users of that role with their states is attached to the mail too.

      No list of changed segments is attached in that mail.
      Main reason: It is not defined (and implemented) which segments belongs to the user: Just the one where the user is entered as last author - or also the segments where the user edited something which was revoked by another user in the meantime.

      On the final finish of the last user, this mail is not sent, instead the already available notifyAllFinishOfARole is triggered as usual.

      Activation via workflow config

      This workflow notification notifyOneFinishOfARole is not activated by default, so it must be configured if needed:

      INSERT INTO `LEK_workflow_action` (`workflow`, `trigger`, `inStep`, `byRole`, `userState`, `actionClass`, `action`) 
      VALUES ('default', 'handleFinish', 'lectoring', 'lector', 'finished', 'editor_Workflow_Notification', 'notifyOneFinishOfARole');

      Attachments

        Activity

          People

            tlauria Thomas Lauria
            tlauria Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: