close

Filter

loading table of contents...

Blueprint Developer Manual / Version 2307

Table Of Contents
CompleteTranslationAction

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

If not disabled, all target contents will be marked as no longer being in translation.

Caution

Must Set skipCleanInTranslation to True

If you configured CleanInTranslationFinalAction within your localization process definition, it is important to set skipCleanInTranslation to true for this action.

If not doing so, your editors may end up with a false-negative in-translation state displayed in CoreMedia Studio.

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, “ExtractPerformerAction.
skipCleanInTranslation
Required no
Description If using the default false the in-translation status is cleared implicitly by this action. It is recommended, though, to set this to true and activate the explicit CleanInTranslationFinalAction instead.
derivedContentsVariable
Required yes
Description The name of the variable that contains all translated content items.
masterContentObjectsVariable
Required yes
Description The name of the variable that contains all master content objects.

Table 5.37. Attributes of CompleteTranslationAction


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

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

Example 5.46. Usage of CompleteTranslationAction


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

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

Example 5.47. Usage of CompleteTranslationAction (implicit clean-in-translation)


Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.