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

ActionField041

Beschrijving: Approve week in hourregistration for employee (from status Created) (EmployeeLabour/EmployeeLabourLines). Custom: Nee

Propertiesbewerken

Property Type Accessor
EmployeeLabour EmployeeLabour Root

XMLbewerken

<Workflow Name="ActionField041" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Approve week in hourregistration for employee (from status Created) (EmployeeLabour/EmployeeLabourLines).</Description>
	<Properties>
		<Property	Name="EmployeeLabour"	Type="EmployeeLabour"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Validation Name="Check status" Condition="${EmployeeLabour.Status} == EmployeeLabourStatus.Created" MessageCode="0438">
			<Parameter	Name="EmployeeLabour"	Direction="In"		Value="${EmployeeLabour}" />
		</Validation>

		<Transaction>
			<ChangeStatus Name="Approve EmployeeLabour" DomainObject="${EmployeeLabour}" NewStatus="EmployeeLabourStatus.Approved" />
		</Transaction>

		<Message Name="ummEMPLABOURWEEKAPPROVED" MessageCode="0459">
			<Parameter	Name="EmployeeLabour"	Direction="In"		Value="${EmployeeLabour}" />
		</Message>

		<UserContent Name="Post" />
	</Execution>
</Workflow>