Assign workflow to document
This method permits to assign a workflow (jobs, deadlines, etc.) to a specific document in a Codyt project.
Note: The document must be marked for translation and have no workflow yet. Delete existing workflow using: Delete workflow from a document
The result of this operation will be:
- Jobs are created as per workflow in the languages of the document (also see targetLocales)
- Jobs are assigned to suppliers as per workflow configuration.
- Notifications are sent.
The token obtained on connection
The project id
|documentid||The document id||int, Required|
Optional. If not set, then a workflow is assigned to all target locales of the document (these are specified when marking the document for translation).
If not set then the workflow is kicked off immediately. Otherwise specify a future UTC date.
Optional. The name of a workflow template configured in "Settings" > "Workflow templates" in Wordbee Translator.
If not specified, then the workflow configured in the project is used.
The method returns no result.
If the document already has a workflow you will get an error message.
Delete workflow from a document