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

ActionField900

Beschrijving: Check if WorkOrderType.MTCorrectiveMaintenance and WorkOrderType.MTPreviousMaintenance are not true at the same time. Custom: Nee

Propertiesbewerken

Property Type Accessor
WorkOrderType WorkOrderType Root

XMLbewerken

<Workflow Name="ActionField900" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Check if WorkOrderType.MTCorrectiveMaintenance and WorkOrderType.MTPreviousMaintenance are not true at the same time.</Description>
	<Properties>
		<Property	Name="WorkOrderType"	Type="WorkOrderType"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<When Name="Check if both maintenance values are true" Condition="${WorkOrderType.MTCorrectiveMaintenance} == True &amp;&amp; ${WorkOrderType.MTPreviousMaintenance} == True">
			<Message Name="Both maintenance values are true" MessageCode="1642">
				<Parameter	Name="WorkOrderType"	Direction="In"		Value="${WorkOrderType}" />
			</Message>
		</When>

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