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

ActionField918

Beschrijving: Set Equipment property Building with the value of the Building on Equipment.Space. Custom: Nee

Propertiesbewerken

Property Type Accessor
Equipment Equipment Root

XMLbewerken

<Workflow Name="ActionField918" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Set Equipment property Building with the value of the Building on Equipment.Space.</Description>
	<Properties>
		<Property	Name="Equipment"	Type="Equipment"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Choose Name="Space is not empty">
				<When Name="Space is not empty" Condition="${Equipment.Space} != Empty">
					<When Name="Space building is not empty" Condition="${Equipment.Space.BuildingFloor.Id.BuildingPart.Id.Building} != Empty">
						<Assign Name="Building" Property="${Equipment.Building}" Value="${Equipment.Space.BuildingFloor.Id.BuildingPart.Id.Building}" />
					</When>
				</When>

				<Otherwise Name="Space is empty">
					<Assign Name="Building empty" Property="${Equipment.Building}" Value="Empty" />
				</Otherwise>
			</Choose>
		</Transaction>

		<UserContent Name="Post" />
	</Execution>
</Workflow>