Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1872
ActionField1872
Beschrijving: Reopen LOTO plan while checking if it is used on PM jobs Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| LockoutTagoutPlan | LockoutTagoutPlan | Root |
XMLbewerken
<Workflow Name="ActionField1872" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Reopen LOTO plan while checking if it is used on PM jobs</Description>
<Properties>
<Property Name="LockoutTagoutPlan" Type="LockoutTagoutPlan" Accessor="Root" Direction="In" />
<Property Name="PmJobs" Type="List[PmJob]" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<GetList Name="Get PM jobs that use this LOTO plan" Type="PmJob" OutputProperty="${PmJobs}" OrderBy="Context" OrderDirection="Ascending">
<Filters>
<PropertyFilter PropertyName="LockoutTagoutPlan" Operator="=" PropertyValue="${LockoutTagoutPlan}" />
</Filters>
</GetList>
</Transaction>
<When Name="PM jobs with LOTO plan are found" Condition="${PmJobs.Count} > 0">
<ContinuationQuestion Name="Continue reopening LOTO plan even though it is used in PM jobs?" MessageCode="3894">
<Parameter Name="LockoutTagoutPlan" Direction="In" Value="${LockoutTagoutPlan}" />
<Parameter Name="PmJobs" Direction="In" Value="${PmJobs}" />
</ContinuationQuestion>
</When>
<Transaction>
<ChangeStatus Name="Reopen LOTO plan" DomainObject="${LockoutTagoutPlan}" NewStatus="LockoutTagoutPlanStatus.Open" />
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>