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

ActionField560

Beschrijving: Create ReservableObject for Space (make Space reservable). Custom: Nee

Propertiesbewerken

Property Type Accessor
Space Space Root
CanBePartOf Boolean Optional
CanHaveParts Boolean Optional
Context Context Optional
IgnoreEndTime Boolean Optional
IsDeliveryLocation Boolean Optional
IsPickupLocation Boolean Optional
IsScarce Boolean Optional
OpenScreen Boolean Optional

XMLbewerken

<Workflow Name="ActionField560" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create ReservableObject for Space (make Space reservable).</Description>
	<Properties>
		<Property	Name="Space"				Type="Space"			Accessor="Root"		Direction="In" />

		<Property	Name="CanBePartOf"			Type="Boolean"			Accessor="Optional"	Direction="In"		Default="False"							Comment="Create ReservableObject with CanBePartOf filled with this value" />
		<Property	Name="CanHaveParts"			Type="Boolean"			Accessor="Optional"	Direction="In"		Default="True"							Comment="Create ReservableObject with CanHaveParts filled with this value" />
		<Property	Name="Context"				Type="Context"			Accessor="Optional"	Direction="In"		Default="ReservableObjectContext.Space"	Comment="Create ReservableObject with this context" />
		<Property	Name="IgnoreEndTime"		Type="Boolean"			Accessor="Optional"	Direction="In"		Default="False"							Comment="Create ReservableObject with IgnoreEndTime filled with this value" />
		<Property	Name="IsDeliveryLocation"	Type="Boolean"			Accessor="Optional"	Direction="In"		Default="False"							Comment="Create ReservableObject with IsDeliveryLocation filled with this value" />
		<Property	Name="IsPickupLocation"		Type="Boolean"			Accessor="Optional"	Direction="In"		Default="False"							Comment="Create ReservableObject with IsPickupLocation filled with this value" />
		<Property	Name="IsScarce"				Type="Boolean"			Accessor="Optional"	Direction="In"		Default="True"							Comment="Create ReservableObject with IsScarce filled with this value" />
		<Property	Name="OpenScreen"			Type="Boolean"			Accessor="Optional"	Direction="In"		Default="True"							Comment="Open screen with created ReservableObject?" />

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

		<Choose Name="Reservable check">
			<When Name="Space not reservable yet" Condition="${Space.ReservableObject} == Empty">
				<Transaction>
					<Insert Name="Create Reservable Object" ObjectType="ReservableObject" OutputProperty="${ReservableObject}">
						<Parameter	Name="Context"				Direction="In"		Value="${Context}" />
						<Parameter	Name="CanBePartOf"			Direction="In"		Value="${CanBePartOf}" />
						<Parameter	Name="CanHaveParts"			Direction="In"		Value="${CanHaveParts}" />
						<Parameter	Name="IgnoreEndTime"		Direction="In"		Value="${IgnoreEndTime}" />
						<Parameter	Name="IsDeliveryLocation"	Direction="In"		Value="${IsDeliveryLocation}" />
						<Parameter	Name="IsPickupLocation"		Direction="In"		Value="${IsPickupLocation}" />
						<Parameter	Name="IsScarce"				Direction="In"		Value="${IsScarce}" />
					</Insert>

					<Assign Name="set Space.ReservableObject" Property="${Space.ReservableObject}" Value="${ReservableObject}" />
				</Transaction>
			</When>

			<Otherwise Name="Space already reservable">
				<Assign Name="set ReservableObject" Property="${ReservableObject}" Value="${Space.ReservableObject}" />
			</Otherwise>
		</Choose>

		<UserContent Name="Post" />

		<When Name="Choose check open screen » Open screen is set" Condition="${OpenScreen} == True">
			<View Name="OpenScreen" ViewName="DataEntryScreen">
				<Parameter	Name="DomainObject"			Direction="In"		Value="${ReservableObject}" />
				<Parameter	Name="FocusEditableField"	Direction="In"		Value="=${ReservableObject.Description} == Empty" />
			</View>
		</When>
	</Execution>
</Workflow>