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

ActionField1898

Beschrijving: Update the checklist line order on all inspection plan Lines linked to this inspection plan's LMRA. Fires after the order is changed for a checklist line. Custom: Nee

Propertiesbewerken

Property Type Accessor
InspectionPlanLine InspectionPlanLine Root
AllowZeroAsOrderValue Boolean Optional

XMLbewerken

<Workflow Name="ActionField1898" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Update the checklist line order on all inspection plan Lines linked to this inspection plan's LMRA. Fires after the order is changed for a checklist line.</Description>
	<Properties>
		<Property	Name="InspectionPlanLine"			Type="InspectionPlanLine"		Accessor="Root"		Direction="In" />

		<Property	Name="AllowZeroAsOrderValue"		Type="Boolean"					Accessor="Optional"	Direction="In"		Comment="Indicates whether an order value of 0 is allowed or not" />

		<Property	Name="InspectionPlanLinesToUpdate"	Type="List[InspectionPlanLine]"	Accessor="Internal"						Comment="InspectionPlan lines that need to have their order values updated" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<GetList Name="Get lines to update order value for" Type="InspectionPlanLine" OutputProperty="${InspectionPlanLinesToUpdate}" OrderBy="Id" OrderDirection="Ascending">
				<Filters>
					<PropertyFilter	PropertyName="Id.InspectionPlan"	Operator="="		PropertyValue="${InspectionPlanLine.Id.InspectionPlan}" />
				</Filters>
			</GetList>

			<Command Name="Update checklist line order using command" CommandName="DomainObjects_UpdateOrderOnProperty">
				<Parameter	Name="AllowZeroAsOrderValue"	Direction="In"		Value="${AllowZeroAsOrderValue}" />
				<Parameter	Name="DomainObjectsToUpdate"	Direction="In"		Value="${InspectionPlanLinesToUpdate}" />
				<Parameter	Name="OrderPropertyName"		Direction="In"		Value="Point" />
				<Parameter	Name="UpdatedDomainObject"		Direction="In"		Value="${InspectionPlanLine}" />
			</Command>
		</Transaction>

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