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

ActionField1653

Beschrijving: Checks if Boolean Inspected can be toggled and restores old value if needed Custom: Nee

Propertiesbewerken

Property Type Accessor
ConditionMeasurement ConditionMeasurement Root

XMLbewerken

<Workflow Name="ActionField1653" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Checks if Boolean Inspected can be toggled and restores old value if needed</Description>
	<Properties>
		<Property	Name="ConditionMeasurement"	Type="ConditionMeasurement"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<When Name="When Inspected can not be toggled" Condition="${ConditionMeasurement.Job.Status} == JobStatus.Finished">
			<Transaction>
				<Assign Name="Restore old value Inspected" Property="${ConditionMeasurement.Inspected}" Value="=${ConditionMeasurement.Inspected} == False" />
			</Transaction>
		</When>

		<Validation Name="Check if Inspected can be toggled" Condition="${ConditionMeasurement.Job.Status} != JobStatus.Finished" MessageCode="3168">
			<Parameter	Name="Job"	Direction="In"		Value="${ConditionMeasurement.Job}" />
		</Validation>

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