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

Introduce new "Export task" workflow step

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • None
    • None
    • Workflows
    • High
    • Introduce new "Export task" workflow step

      Purpose

      We need workflow step that can be included in some workflows and when it is reached task export should be triggered in plugins that has export as part of their features.

      Concept and instructions

      Introduce new exportTask workflow step.

      It can be included in any workflow at any place by clients requirement.

      From UI and overall logic it will be yet another step in a workflow so it can be assigned to user and set as default job assignment.

      So to enable or disable this step in some workflow PM has to assign job with this step: either manually to specific task or with default job assignments.

      User in this step plays role of supervisor - so we may send notifications to such a user if required later or do similar logic

      We have to create dedicated workflow action and register it for every existing workflow in LEK_workflow_action table.
      This action will be triggered as last action (position) and will automatically move task to next workflow state.

      Apart from dedicated action each plugin that has "export task" functionality will have to add its own action handler and export task.
      Depending on required logic - that may be either export as is (in current state) or with additional translation to translate all currently empty targets.

      For second variant we can schedule 2 workers:

      1. Pretranslation worker with assertion that internal fuzzy is disabled
      2. Export worker to actually export task. This one should depend on Pretranslation and wait until it is finished.

            tlauria Thomas Lauria
            sanya@mittagqi.com Sanya Mikhliaiev
            Thomas Lauria
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: