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

ActionField121

Beschrijving: Search PmWorkOrders for PmSchedule (searchmethod Standard). Custom: Nee

Propertiesbewerken

Property Type Accessor
PmSchedule PmSchedule Root
EquipmentContextToSearch List[Context] Optional
InspectionLineCourseRouteContexts List[Context] Optional
JobContext Context? Optional
PmWorkOrderContextToSearch List[Context] Optional
PmWorkOrderCourseRouteContextToSearch List[Context] Optional
ProcessFunctionContextToSearch List[Context] Optional

XMLbewerken

<Workflow Name="ActionField121" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Search PmWorkOrders for PmSchedule (searchmethod Standard).</Description>
	<Properties>
		<Property	Name="PmSchedule"								Type="PmSchedule"		Accessor="Root"		Direction="In" />

		<Property	Name="EquipmentContextToSearch"					Type="List[Context]"	Accessor="Optional"	Direction="In"		Comment="Search only Equipments with these contexts" />
		<Property	Name="InspectionLineCourseRouteContexts"		Type="List[Context]"	Accessor="Optional"	Direction="In"		Comment="Search only Inspectionlines for PmWorkOrders(Courseroutes) with these contexts" />
		<Property	Name="JobContext"								Type="Context?"			Accessor="Optional"	Direction="In"		Comment="When PmWorkOrder has context PeriodicActivityChild(1024) the linked MaintenanceClassification has to have a Backoffice for this jobcontext" />
		<Property	Name="PmWorkOrderContextToSearch"				Type="List[Context]"	Accessor="Optional"	Direction="In"		Comment="Search only PmWorkOrders with these contexts" />
		<Property	Name="PmWorkOrderCourseRouteContextToSearch"	Type="List[Context]"	Accessor="Optional"	Direction="In"		Comment="Search only PmWorkOrders(Courseroutes) with these contexts" />
		<Property	Name="ProcessFunctionContextToSearch"			Type="List[Context]"	Accessor="Optional"	Direction="In"		Comment="Search only ProcessFunctions with these contexts" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Validation Name="No dates" Condition="${PmSchedule.StartDate} != Empty || ${PmSchedule.EndDate} != Empty" MessageCode="0936">
			<Parameter	Name="PmSchedule"	Direction="In"		Value="${PmSchedule}" />
		</Validation>
		<Validation Name="No startdate" Condition="${PmSchedule.StartDate} != Empty" MessageCode="0937">
			<Parameter	Name="PmSchedule"	Direction="In"		Value="${PmSchedule}" />
		</Validation>
		<Validation Name="No enddate" Condition="${PmSchedule.EndDate} != Empty" MessageCode="0938">
			<Parameter	Name="PmSchedule"	Direction="In"		Value="${PmSchedule}" />
		</Validation>
		<Validation Name="Enddate before or equal to startdate" Condition="${PmSchedule.EndDate} &gt; ${PmSchedule.StartDate}" MessageCode="0939">
			<Parameter	Name="PmSchedule"	Direction="In"		Value="${PmSchedule}" />
		</Validation>

		<WorkflowCall Name="Schedule pmworkorders" WorkflowName="PmSchedule_SearchPmWorkOrders">
			<Parameter	Name="EquipmentContexts"					Direction="In"		Value="${EquipmentContextToSearch}" />
			<Parameter	Name="InspectionLineCourseRouteContexts"	Direction="In"		Value="${InspectionLineCourseRouteContexts}" />
			<Parameter	Name="JobContext"							Direction="In"		Value="${JobContext}" />
			<Parameter	Name="PmSchedule"							Direction="In"		Value="${PmSchedule}" />
			<Parameter	Name="PmWorkOrderContexts"					Direction="In"		Value="${PmWorkOrderContextToSearch}" />
			<Parameter	Name="PmWorkOrderCourseRouteContexts"		Direction="In"		Value="${PmWorkOrderCourseRouteContextToSearch}" />
			<Parameter	Name="ProcessFunctionContexts"				Direction="In"		Value="${ProcessFunctionContextToSearch}" />
			<Parameter	Name="SearchMethod"							Direction="In"		Value="SearchStandard" />
		</WorkflowCall>

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