Blueprint Developer Manual / Version 2512.0
Table Of Contents
This action resolves site manager groups for one or multiple target sites and stores the
result into a workflow process variable. It is designed as a successor to
GetSiteManagerGroupAction (see
Section, “GetSiteManagerGroupAction”) and adds support for aggregated site id
input variables as well as configurable merge strategies for combining groups from
multiple sites.
When a single target site is provided, the action behaves equivalently to
GetSiteManagerGroupAction. When multiple target sites are provided,
groups from each site are combined according to the configured mergeStrategy.
The default strategy is INTERSECTION, which retains only groups that are
common to all target sites, thereby avoiding unintentional permission broadening.
If the merged result is empty, an optional fallbackGroups list is consulted.
If the result still remains empty after fallback processing, the action returns
UNSUCCESSFUL.
siteVariable
| |
| Required | yes |
| Description |
The name of the variable that contains the id(s) of the target site(s).
May reference an atomic String or an aggregated StringList
variable.
|
siteManagerGroupVariable
| |
| Required | yes |
| Description |
The name of the variable into which the resolved manager group(s) are stored.
Supports both atomic (Group) and aggregated (GroupList)
target variables. When the target variable is atomic and multiple groups are
resolved, only the first group is stored.
|
mergeStrategy
| |
| Required | no (default: INTERSECTION) |
| Description |
Strategy for combining groups resolved from multiple target sites. Accepted values:
|
fallbackGroups
| |
| Required | no |
| Description |
A delimited string of fallback group names to use when the merge result is empty.
Group names are split using the fallbackGroupsDelimitingRegex
(default: comma followed by optional whitespace). Example:
translation-manager-role, editors.
|
fallbackGroupsDelimitingRegex
| |
| Required | no (default: ,\s*) |
| Description |
Regular expression used to split the fallbackGroups string into
individual group names.
|
Table 5.34. Attributes of GetMultiSiteManagerGroupAction
<AggregationVariable name="targetSiteId" type="String"/> <AggregationVariable name="targetSiteManagerGroup" type="Group"/> ... <AutomatedTask name="GetTargetSiteManagerGroups" successor="FollowUpAction"> <Action class="com.coremedia.translate.workflow.GetMultiSiteManagerGroupAction" siteVariable="targetSiteId" siteManagerGroupVariable="targetSiteManagerGroup" mergeStrategy="INTERSECTION" fallbackGroups="translation-manager-role"/> </AutomatedTask>
Example 5.42. Usage of GetMultiSiteManagerGroupAction


