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

ActionField1667

Beschrijving: This ActionField should be placed on screens as a validator of editable Job.StatusFinishDate fields because modifying this date will affect PmWorkOrder.LastMaintenanceDate of dynamic PmWorkOrders Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root

XMLbewerken

<Workflow Name="ActionField1667" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>This ActionField should be placed on screens as a validator of editable Job.StatusFinishDate fields because modifying this date will affect PmWorkOrder.LastMaintenanceDate of dynamic PmWorkOrders</Description>
	<Properties>
		<Property	Name="Job"	Type="Job"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<When Name="if Job is finished" Condition="${Job.Status} == JobStatus.Finished">
			<WorkflowCall Name="Job_UpdateAssociatedPmWorkOrder" WorkflowName="Job_UpdateAssociatedPmWorkOrder">
				<Parameter	Name="Job"	Direction="In"		Value="${Job}" />
			</WorkflowCall>
		</When>

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