-
Task
-
Resolution: Unresolved
-
None
-
None
-
High
-
Introduce new "Export task" workflow step
-
Emptyshow more show less
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:
- Pretranslation worker with assertion that internal fuzzy is disabled
- Export worker to actually export task. This one should depend on Pretranslation and wait until it is finished.
- relates to
-
TRANSLATE-4859 Create a workflow that closes itself automatically after import and pre-translation is done
- Done