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

ActionField1022

Beschrijving: Change status of EmployeeLabourPeriod (hour administration) to Processed (status must be Stopped). Custom: Nee

Propertiesbewerken

Property Type Accessor
EmployeeLabourPeriod EmployeeLabourPeriod Root

XMLbewerken

<Workflow Name="ActionField1022" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of EmployeeLabourPeriod (hour administration) to Processed (status must be Stopped).</Description>
	<Properties>
		<Property	Name="EmployeeLabourPeriod"	Type="EmployeeLabourPeriod"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Validation Name="Status" Condition="${EmployeeLabourPeriod.Status} == EmployeeLabourPeriodStatus.Stopped" MessageCode="1962">
			<Parameter	Name="EmployeeLabourPeriod"	Direction="In"		Value="${EmployeeLabourPeriod}" />
			<Parameter	Name="Status"				Direction="In"		Value="EmployeeLabourPeriodStatus.Stopped" />
		</Validation>

		<Transaction>
			<ChangeStatus Name="Process EmployeeLabourPeriod" DomainObject="${EmployeeLabourPeriod}" NewStatus="EmployeeLabourPeriodStatus.Processed" />
		</Transaction>

		<UserContent Name="Post" />

		<Message Name="Employee Labour Periode Processed" MessageCode="1960">
			<Parameter	Name="EmployeeLabourPeriod"	Direction="In"		Value="${EmployeeLabourPeriod}" />
		</Message>
	</Execution>
</Workflow>