loading table of contents...
6.6.2.1.4. CompleteTranslationAction

After successfully completing a translation workflow, the masterVersion of all translated contents will be set to the current version of their masters.

performerVariable
Required yes
Description The name of the variable that contains the user in whose name this action performed. Typically, the user has been retrieved previously by the action described in Section 6.6.2.1.3, “ExtractPerformerAction.
derivedContentsVariable
Required yes
Description The name of the variable that contains all translated documents.
masterContentObjectsVariable
Required yes
Description The name of the variable that contains all master content objects.

Table 6.31.  Attributes of CompleteTranslationAction


<Variable name="performer" type="User"/>
<AggregationVariable name="targetContents" type="Resource"/>
...

<AutomatedTask name="Complete" successor="Finish">
  <Action class="com.coremedia.translate.workflow.CompleteTranslationAction"
          derivedContentsVariable="derivedContents"
          masterContentObjectsVariable="masterContentObjects"
          performerVariable="performer"/>
</AutomatedTask>

Example 6.30. Usage of CompleteTranslationAction