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

ActionField402

Beschrijving: Change status of EmployeeLabourLine to Approved (RegistrationType must be zero). Custom: Nee

Propertiesbewerken

Property Type Accessor
EmployeeLabourLine EmployeeLabourLine Root

XMLbewerken

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

		<When Name="Check RegistrationType » RegistrationIsZero" Condition="${EmployeeLabourLine.RegistrationType} == 0">
			<Transaction>
				<ChangeStatus Name="EmployeeLabourLine" DomainObject="${EmployeeLabourLine}" NewStatus="EmployeeLabourLineStatus.Approved" />
			</Transaction>
		</When>

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