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

ActionField1023

Beschrijving: Open a ShiftLogLine in the appropriate screen (when status is Planned screen SHLL03, when ShiftLog not Empty screen SHLL01 else screen SHLL02). Custom: Nee

Propertiesbewerken

Property Type Accessor
ShiftLogLine ShiftLogLine Root

XMLbewerken

<Workflow Name="ActionField1023" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Open a ShiftLogLine in the appropriate screen (when status is Planned screen SHLL03, when ShiftLog not Empty screen SHLL01 else screen SHLL02).</Description>
	<Properties>
		<Property	Name="ShiftLogLine"	Type="ShiftLogLine"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<UserContent Name="Post" />

		<Choose Name="CheckStatusShiftLogLine">
			<When Name="WhenShiftLogLineIsPlanned" Condition="${ShiftLogLine.Status} == ShiftLogLineStatus.Planned">
				<View Name="OpenScreen" ViewName="DataEntryScreen">
					<Parameter	Name="DomainObject"	Direction="In"		Value="${ShiftLogLine}" />
					<Parameter	Name="ScreenName"	Direction="In"		Value="SHLL03" />
				</View>
			</When>

			<Otherwise Name="OtherwiseShiftLogLineIsOpen">
				<Choose Name="ChooseShiftLogIsSet">
					<When Name="WhenShiftLogIsSet" Condition="${ShiftLogLine.ShiftLog} != Empty">
						<View Name="OpenScreen" ViewName="DataEntryScreen">
							<Parameter	Name="DomainObject"	Direction="In"		Value="${ShiftLogLine}" />
							<Parameter	Name="ScreenName"	Direction="In"		Value="SHLL01" />
						</View>
					</When>

					<Otherwise Name="OtherwiseShiftLogIsNotSet">
						<View Name="OpenScreen" ViewName="DataEntryScreen">
							<Parameter	Name="DomainObject"	Direction="In"		Value="${ShiftLogLine}" />
							<Parameter	Name="ScreenName"	Direction="In"		Value="SHLL02" />
						</View>
					</Otherwise>
				</Choose>
			</Otherwise>
		</Choose>
	</Execution>
</Workflow>