Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1002
ActionField1002
Beschrijving: Plan a ShiftLogLine. Either normally or based on a recurrence pattern if a pattern is set already. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ShiftLogLine | ShiftLogLine | Root |
| IndexForTabGeneral | Int32 | Optional |
XMLbewerken
<Workflow Name="ActionField1002" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Plan a ShiftLogLine. Either normally or based on a recurrence pattern if a pattern is set already.</Description>
<Properties>
<Property Name="ShiftLogLine" Type="ShiftLogLine" Accessor="Root" Direction="In" />
<Property Name="IndexForTabGeneral" Type="Int32" Accessor="Optional" Direction="In" Default="0" Comment="Update in UserContent when tab order is not default" />
<Property Name="IsAlreadyPlanned" Type="Boolean" Accessor="Internal" Default="=${ShiftLogLine.Status} == ShiftLogLineStatus.Planned" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Validation Name="ValidateMaintenanceTaskIsNotYetFinished" Condition="${ShiftLogLine.Context} != ShiftLogLineContext.AutonomousMaintenance || ${ShiftLogLine.Status} != ShiftLogLineStatus.Finished" MessageCode="3565">
<Parameter Name="ShiftLogLine" Direction="In" Value="${ShiftLogLine}" />
</Validation>
<Choose Name="either with a pattern or without">
<When Name="without pattern" Condition="${ShiftLogLine.Pattern} == Empty">
<WorkflowCall Name="ShiftLogLine_Edit" WorkflowName="ShiftLogLine_Edit">
<Parameter Name="ShiftLogLine" Direction="In" Value="${ShiftLogLine}" />
</WorkflowCall>
</When>
<Otherwise Name="with pattern">
<WorkflowCall Name="ShiftLogLine_EditPattern" WorkflowName="ShiftLogLine_EditPattern">
<Parameter Name="ShiftLogLine" Direction="In" Value="${ShiftLogLine}" />
</WorkflowCall>
</Otherwise>
</Choose>
<UserContent Name="Post" />
<When Name="When not already planned" Condition="${IsAlreadyPlanned} == False">
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${ShiftLogLine.ShiftLogbook}" />
<Parameter Name="Stab" Direction="In" Value="${IndexForTabGeneral}" />
</View>
</When>
</Execution>
</Workflow>