Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1679
ActionField1679
Beschrijving: Update the placement or removal orders on all LockoutTagout(Request/Plan)Lines linked to this LockoutTagout(Request/Plan)Line's LockoutTagout(Request/Plan). Fires after the order is changed for either placement/removal. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| LockoutTagoutLine | DomainObject | Root |
| UpdatePlacementOrder | Boolean | Required |
XMLbewerken
<Workflow Name="ActionField1679" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Update the placement or removal orders on all LockoutTagout(Request/Plan)Lines linked to this LockoutTagout(Request/Plan)Line's LockoutTagout(Request/Plan). Fires after the order is changed for either placement/removal.</Description>
<Properties>
<Property Name="LockoutTagoutLine" Type="DomainObject" Accessor="Root" Direction="In" Comment="Either a LOTO request line or a LOTO plan line" />
<Property Name="UpdatePlacementOrder" Type="Boolean" Accessor="Required" Direction="In" Comment="Either update the replacement or removal order" />
<Property Name="EntityName" Type="String" Accessor="Internal" Comment="Entity name for the LOTO line" />
<Property Name="LockoutTagoutLinesToUpdate" Type="List[DomainObject]" Accessor="Internal" Comment="LOTO lines that need to have their order values updated" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Assign Name="Set entity name for LOTO line" Property="${EntityName}" Value="=${LockoutTagoutLine.EntityName}" />
<Transaction>
<GetList Name="Get lines to update order value for" Type="${EntityName}" OutputProperty="${LockoutTagoutLinesToUpdate}" OrderBy="Id" OrderDirection="Ascending">
<Filters>
<WhenFilter Condition="${EntityName} == LockoutTagoutRequestLine">
<PropertyFilter PropertyName="LockoutTagoutRequest" Operator="=" PropertyValue="${LockoutTagoutLine.LockoutTagoutRequest}" />
</WhenFilter>
<WhenFilter Condition="${EntityName} == LockoutTagoutPlanLine">
<PropertyFilter PropertyName="Id.LockoutTagoutPlan" Operator="=" PropertyValue="${LockoutTagoutLine.Id.LockoutTagoutPlan}" />
</WhenFilter>
</Filters>
</GetList>
<Command Name="Update placement/removal order using command" CommandName="DomainObjects_UpdateOrderOnProperty">
<Parameter Name="DomainObjectsToUpdate" Direction="In" Value="${LockoutTagoutLinesToUpdate}" />
<Parameter Name="OrderPropertyName" Direction="In" Value="=${UpdatePlacementOrder} ? Order : RemovalOrder" />
<Parameter Name="UpdatedDomainObject" Direction="In" Value="${LockoutTagoutLine}" />
</Command>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>