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

ActionField1724

Beschrijving: View ObjectDowntime Custom: Nee

Propertiesbewerken

Property Type Accessor
ObjectDowntime ObjectDowntime Root
FocusEditableField Boolean Optional
OpenInNewWindow Boolean Optional
OpenJobScreen Boolean Optional
ScreenName UltimoString Optional

XMLbewerken

<Workflow Name="ActionField1724" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>View ObjectDowntime</Description>
	<Properties>
		<Property	Name="ObjectDowntime"		Type="ObjectDowntime"	Accessor="Root"		Direction="In" />

		<Property	Name="FocusEditableField"	Type="Boolean"			Accessor="Optional"	Direction="In"		Default="False" />
		<Property	Name="OpenInNewWindow"		Type="Boolean"			Accessor="Optional"	Direction="In"		Default="False" />
		<Property	Name="OpenJobScreen"		Type="Boolean"			Accessor="Optional"	Direction="In"		Default="False"	Comment="Open a job screen if there is a job registered on the ObjectDowntime" />
		<Property	Name="ScreenName"			Type="UltimoString"		Accessor="Optional"	Direction="In" />

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

		<Choose Name="for what domainObject">
			<When Name="job?" Condition="${OpenJobScreen} == True">
				<Assign Name="set job on DomainObject" Property="${DomainObject}" Value="${ObjectDowntime.Job}" />
				<Validation Name="Is there a job?" Condition="${DomainObject} != Empty" MessageCode="3715" />
			</When>

			<Otherwise>
				<Assign Name="set objectdowntime on DomainObject" Property="${DomainObject}" Value="${ObjectDowntime}" />
			</Otherwise>
		</Choose>

		<UserContent Name="Post" />

		<When Name="is there a domain object" Condition="${DomainObject} != Empty">
			<View Name="OpenScreen" ViewName="DataEntryScreen">
				<Parameter	Name="DomainObject"			Direction="In"		Value="${DomainObject}" />
				<Parameter	Name="FocusEditableField"	Direction="In"		Value="${FocusEditableField}" />
				<Parameter	Name="OpenInNewWindow"		Direction="In"		Value="${OpenInNewWindow}" />
				<Parameter	Name="ScreenName"			Direction="In"		Value="${ScreenName}" />
			</View>
		</When>
	</Execution>
</Workflow>