Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1247
ActionField1247
Beschrijving: Plan a ShiftLogLine based on a recurrence pattern and change its status to Planned. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ShiftLogLine | ShiftLogLine | Root |
| IndexForTabGeneral | Int32 | Optional |
| IndexForTabMaintenanceTasks | Int32 | Optional |
XMLbewerken
<Workflow Name="ActionField1247" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Plan a ShiftLogLine based on a recurrence pattern and change its status to Planned.</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="IndexForTabMaintenanceTasks" Type="Int32" Accessor="Optional" Direction="In" Default="1" Comment="Update in UserContent when tab order is not default" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<WorkflowCall Name="ShiftLogLine_EditPattern" WorkflowName="ShiftLogLine_EditPattern">
<Parameter Name="ShiftLogLine" Direction="In" Value="${ShiftLogLine}" />
</WorkflowCall>
<Transaction>
<When Name="ShiftLogLine is Open" Condition="${ShiftLogLine.Status} == ShiftLogLineStatus.Open">
<ChangeStatus Name="ChangeStatusShiftLogLine" DomainObject="${ShiftLogLine}" NewStatus="ShiftLogLineStatus.Planned" />
</When>
</Transaction>
<UserContent Name="Post" />
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${ShiftLogLine.ShiftLogbook}" />
<Parameter Name="Stab" Direction="In" Value="=${ShiftLogLine.Context} == ShiftLogLineContext.AutonomousMaintenance ? ${IndexForTabMaintenanceTasks} : ${IndexForTabGeneral}" />
</View>
</Execution>
</Workflow>