Blueprint Developer Manual / Version 2506.0
Table Of Contents
This action is supposed to follow up GetDerivedContentsAction. It filters the
derived contents in two ways.
It checks for each content in the given
derivedContentswhether the content'smasterVersionis more recent than the corresponding version in the givenmasterContentObjects. In this case, the content is excluded from thederivedContents. If askippedContentsVariableis given, all of these excluded contents are stored under this variable of the corresponding process.For all remaining contents from
derivedContents, it checks whether the content has itsignoreUpdatesproperty set (seeContentObjectSiteAspect#getIgnoreUpdates()). If so, this content is also excluded from thederivedContents(but not stored underskippedContentsVariable).
masterContentObjects
| |
| Required | yes |
| Description | The name of the variable that contains the list of content objects in the master site |
derivedContentsVariable
| |
| Required | yes |
| Description | The name of the variable into which a list of all derived contents is stored |
skippedContentsVariable
| |
| Required | no |
| Description | The name of the variable into which the list of skipped contents (because of outdated master content object) is stored. |
Table 5.32. Attributes of FilterDerivedContentsAction
<Variable name="siteId" type="String"/> <AggregationVariable name="masterContentObjects" type="Resource"/> <AggregationVariable name="derivedContents" type="Resource"/> <AggregationVariable name="createdContents" type="Resource"/> <Variable name="placeholderPreparationStrategy" type="String"/> <AggregationVariable name="skippedContents" type="Resource"/> ... <AutomatedTask name="StartSyncFromParentToTarget" successor="CheckIfDerivedContentsEmpty"> <Action class="com.coremedia.translate.workflow.GetDerivedContentsAction" masterContentObjectsVariable="masterContentObjects" derivedContentsVariable="derivedContents" createdContentsVariable="createdContents" placeholderPreparationStrategyVariable="placeholderPreparationStrategy" targetSiteIdVariable="siteId"/> <Action class="com.coremedia.translate.workflow.FilterDerivedContentsAction" masterContentObjectsVariable="masterContentObjects" derivedContentsVariable="derivedContents" skippedContentsVariable="skippedContents"/> </AutomatedTask>
Example 5.39. Usage of FilterDerivedContentsAction


