Workflow states

translate5 has the following workflow/task states:

NameExplanation
openThe task is ready to be worked on, but work has not started yet.
work in progressThe task is currently being worked on.
endedWork on the task is complete.
not approvedThe task has not been approved yet and therefore cannot be edited yet. It must be approved by a user who has the required permission in the workflow.
ImportThe files of the task are currently being imported and, if applicable, pre-translated.
ErrorThere is a technical error in or with the task.

In translate5, the workflow state is effectively the same as the task state, because there can be one workflow per task.


Job states

translate5 has the following job states:

NameExplanation
openThe job is ready to be worked on or is already being worked on. Once work has started, or after any required approval, jobs keep this state until they are finished.
waitingThe job is waiting for one or more preceding jobs to be finished before work on it can start. A user who sees the job state “waiting” can already view the job in read-only mode.
finishedThe job has been completed, but the user can still view it.
not approvedThe job was requested in a way that requires its acceptance to be approved, has not yet been approved by the requested user(s) and therefore cannot be edited yet. It must be approved by a user who has the required permission in the workflow.
for me auto-closedThe job has exceeded its deadline by a certain (configurable) period of time and was therefore finished automatically.
in work by myself

This state appears when translate5 is open in more than one browser window or tab, and a job is open in the editor in one of them while the task list is shown in another. It only appears if the job in question is assigned to the user.

Every user involved in the workflow can open a task in read-only mode at any time, regardless of their role or the workflow state. The project manager can always open all tasks in read-only mode.
A project manager can modify any task whenever it is not being edited by another user.

If a task is assigned to several translators or reviewers, the state shown here is the state of the job you are responsible for within the task.

Automatic state changes

One of the core ideas behind the translate5 workflows is that certain actions within the application are started automatically by a clearly defined list of trigger conditions (triggers). The mapping between actions and triggers is predefined, but can be adjusted by the administrator of a translate5 instance. There is currently no graphical user interface for this, so the configuration has to be done directly in the database.

Interaction of workflow and job states

The following table shows how the different job states can affect the task state, provided that all job states are set as intended by translate5 when users are assigned and that no states are changed while the workflow is running.

Workflow stateopenwork in progressopenwork in progressopenwork in progressended
Translation stateopenUser has opened the job in the editorfinished---finished---finished
Review statewaiting---openUser has opened the job in the editorfinished---finished
2. Review statewaiting---waiting---openUser has opened the job in the editorfinished

Flexible job state changes with automatic update of the workflow state

However, the project manager can select and change the job state when assigning jobs, and also for jobs that are already running during the workflow. This gives the project manager maximum flexibility. When jobs are assigned, translate5 always recalculates the workflow state, provided the project manager has set consistent job states. If not, the workflow state (i.e. which workflow step is currently active) stays as it was before. For a new job assignment, translate5 preselects the job state that makes sense by default for this step. If there is no sensible state (for example, if the workflow as a whole has already ended), the job state field is empty by default.

The flexibility of job and workflow states naturally carries the risk that invalid workflow states can be reached. For example, if a job state is set to “waiting” in a workflow that has already ended while all other jobs are “finished”. Or if two consecutive jobs in the same workflow are set to “open” at the same time.

The project manager cannot set a job to finished while it still contains segments with the status “draft”.