Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1038
ActionField1038
Beschrijving: Set this SpaceSetup as default and change Default to false for all other SpaceSetups linked to this Space. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| DefaultSpaceSetup | SpaceSetup | Root |
XMLbewerken
<Workflow Name="ActionField1038" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Set this SpaceSetup as default and change Default to false for all other SpaceSetups linked to this Space.</Description>
<Properties>
<Property Name="DefaultSpaceSetup" Type="SpaceSetup" Accessor="Root" Direction="In" />
<Property Name="SpaceSetups" Type="List[SpaceSetup]" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<GetList Name="Get relevant setups" Type="SpaceSetup" OutputProperty="${SpaceSetups}" OrderBy="Id" OrderDirection="Ascending">
<Filters>
<CombinedFilter FilterOperator="And">
<PropertyFilter PropertyName="Id.Space.Id" Operator="=" PropertyValue="${DefaultSpaceSetup.Id.Space.Id}" />
<NotFilter>
<PropertyFilter PropertyName="Id" Operator="=" PropertyValue="${DefaultSpaceSetup.Id}" />
</NotFilter>
</CombinedFilter>
</Filters>
</GetList>
<ForEach Name="Foreach found setup" In="${SpaceSetups}" As="SpaceSetup">
<Assign Name="Reset SpaceSetup" Property="${SpaceSetup.Default}" Value="False" />
</ForEach>
<Assign Name="DefaultSpaceSetup true" Property="${DefaultSpaceSetup.Default}" Value="True" />
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>