Categorie: reference Bijgewerkt: 2026-04-08 actionfield workflow actionfield421

ActionField421

Beschrijving: Copy Features from SpaceType to all Spaces with this SpaceType. Custom: Nee

Propertiesbewerken

Property Type Accessor
SpaceType SpaceType Root
SpaceContext List[Context] Optional

XMLbewerken

<Workflow Name="ActionField421" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Copy Features from SpaceType to all Spaces with this SpaceType.</Description>
	<Properties>
		<Property	Name="SpaceType"	Type="SpaceType"		Accessor="Root"		Direction="In" />

		<Property	Name="SpaceContext"	Type="List[Context]"	Accessor="Optional"	Direction="In"		Comment="Change only Spaces with this context" />

		<Property	Name="SpaceCount"	Type="Int64"			Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<GetCount Name="Count Spaces" Type="Space" OutputProperty="${SpaceCount}">
				<Filters>
					<CombinedFilter FilterOperator="And">
						<PropertyFilter	PropertyName="SpaceType"	Operator="="		PropertyValue="${SpaceType}" />
						<WhenFilter Condition="${SpaceContext} != Empty">
							<InFilter PropertyName="Context" Values="${SpaceContext}" />
						</WhenFilter>
					</CombinedFilter>
				</Filters>
			</GetCount>

			<Validation Name="Check SpaceCount" Condition="${SpaceCount} &gt; 0" MessageCode="0389">
				<Parameter	Name="SpaceType"	Direction="In"		Value="${SpaceType}" />
			</Validation>

			<Command Name="SpaceType_CopyFeatures" CommandName="SpaceType_CopyFeatures">
				<Parameter	Name="SpaceContext"	Direction="In"		Value="${SpaceContext}" />
				<Parameter	Name="SpaceType"	Direction="In"		Value="${SpaceType}" />
			</Command>
		</Transaction>

		<UserContent Name="Post" />

		<Message Name="ummFEATURESCOPIED" MessageCode="0336" />
	</Execution>
</Workflow>