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

ActionField1145

Beschrijving: Change ScheduledStartDate and ScheduledFinishDate for Project (Stop) and update corresponding Workorder and Job planning. Custom: Nee

Propertiesbewerken

Property Type Accessor
Stop Project Root

XMLbewerken

<Workflow Name="ActionField1145" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change ScheduledStartDate and ScheduledFinishDate for Project (Stop) and update corresponding Workorder and Job planning.</Description>
	<Properties>
		<Property	Name="Stop"						Type="Project"	Accessor="Root"		Direction="In" />

		<Property	Name="DateDifferenceInMinutes"	Type="Int64"	Accessor="Internal"						Default="0" />
		<Property	Name="Updated"					Type="Boolean"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Project_EditStop" WorkflowName="Project_EditStop">
			<Parameter	Name="Stop"						Direction="In"		Value="${Stop}" />
			<Parameter	Name="DateDifferenceInMinutes"	Direction="Out"						OutputProperty="${DateDifferenceInMinutes}" />
			<Parameter	Name="Updated"					Direction="Out"						OutputProperty="${Updated}" />
		</WorkflowCall>

		<UserContent Name="Post" />

		<When Name="A change" Condition="${DateDifferenceInMinutes} != 0">
			<Choose Name="Message">
				<When Name="Not Updated Planning" Condition="${Updated} == False">
					<Message Name="No Planning Changed" MessageCode="2372" />
				</When>

				<Otherwise Name="Updated Planning">
					<Message Name="Planning Changed" MessageCode="2373" />
				</Otherwise>
			</Choose>
		</When>
	</Execution>
</Workflow>