Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1011
ActionField1011
Beschrijving: Create a new ShiftLogLine for this ShiftLogLine's ShiftLog. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ShiftLogLine | ShiftLogLine | Root |
XMLbewerken
<Workflow Name="ActionField1011" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create a new ShiftLogLine for this ShiftLogLine's ShiftLog.</Description>
<Properties>
<Property Name="ShiftLogLine" Type="ShiftLogLine" Accessor="Root" Direction="In" />
<Property Name="CreatedShiftLogLine" Type="ShiftLogLine" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<Insert Name="InsertNewShiftLogLine" ObjectType="ShiftLogLine" OutputProperty="${CreatedShiftLogLine}">
<Parameter Name="Context" Direction="In" Value="ShiftLogLineContext.ShiftHandover" />
<Parameter Name="Status" Direction="In" Value="ShiftLogLineStatus.Open" />
<Parameter Name="Department" Direction="In" Value="${ShiftLogLine.ShiftLogbook.Department}" />
<Parameter Name="ProcessFunction" Direction="In" Value="${ShiftLogLine.ShiftLogbook.ProcessFunction}" />
<Parameter Name="ShiftLog" Direction="In" Value="${ShiftLogLine.ShiftLog}" />
<Parameter Name="ShiftLogbook" Direction="In" Value="${ShiftLogLine.ShiftLogbook}" />
</Insert>
<Assign Name="Set origin" Property="${CreatedShiftLogLine.OriginShiftLogLine}" Value="${CreatedShiftLogLine}" Comment="Set origin for the new ShiftLogLine to itself" />
</Transaction>
<UserContent Name="Post" />
<Choose Name="ChooseShiftLogIsSet">
<When Name="WhenShiftLogIsSet" Condition="${ShiftLogLine.ShiftLog} != Empty" Comment="Open different screen than the default">
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${CreatedShiftLogLine}" />
<Parameter Name="FocusEditableField" Direction="In" Value="True" />
<Parameter Name="ScreenName" Direction="In" Value="SHLL01" />
</View>
</When>
<Otherwise Name="OtherwiseShiftLogIsNotSet">
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${CreatedShiftLogLine}" />
<Parameter Name="FocusEditableField" Direction="In" Value="True" />
</View>
</Otherwise>
</Choose>
</Execution>
</Workflow>