Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield561
ActionField561
Beschrijving: Create ReservableObject for Employee (Make Employee reservable). Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Employee | Employee | Root |
| CanBePartOf | Boolean | Optional |
| CanHaveParts | Boolean | Optional |
| Context | Context | Optional |
| IgnoreEndTime | Boolean | Optional |
| IsDeliveryLocation | Boolean | Optional |
| IsScarce | Boolean | Optional |
| OpenScreen | Boolean | Optional |
XMLbewerken
<Workflow Name="ActionField561" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create ReservableObject for Employee (Make Employee reservable).</Description>
<Properties>
<Property Name="Employee" Type="Employee" Accessor="Root" Direction="In" />
<Property Name="CanBePartOf" Type="Boolean" Accessor="Optional" Direction="In" Default="True" Comment="Create ReservableObject with CanBePartOf filled with this value" />
<Property Name="CanHaveParts" Type="Boolean" Accessor="Optional" Direction="In" Default="False" Comment="Create ReservableObject with CanHaveParts filled with this value" />
<Property Name="Context" Type="Context" Accessor="Optional" Direction="In" Default="ReservableObjectContext.Employee" Comment="Create ReservableObject with this context" />
<Property Name="IgnoreEndTime" Type="Boolean" Accessor="Optional" Direction="In" Default="False" Comment="Create ReservableObject with IgnoreEndTime filled with this value" />
<Property Name="IsDeliveryLocation" Type="Boolean" Accessor="Optional" Direction="In" Default="False" Comment="Create ReservableObject with IsDeliveryLocation filled with this value" />
<Property Name="IsScarce" Type="Boolean" Accessor="Optional" Direction="In" Default="False" Comment="Create ReservableObject with IsScarce filled with this value" />
<Property Name="OpenScreen" Type="Boolean" Accessor="Optional" Direction="In" Default="True" Comment="Open screen with created ReservableObject?" />
<Property Name="ReservableObject" Type="ReservableObject" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Choose Name="Reservable check">
<When Name="Employee not reservable yet" Condition="${Employee.ReservableObject} == Empty">
<Transaction>
<Insert Name="Create Reservable Object" ObjectType="ReservableObject" OutputProperty="${ReservableObject}">
<Parameter Name="Context" Direction="In" Value="${Context}" />
<Parameter Name="CanBePartOf" Direction="In" Value="${CanBePartOf}" />
<Parameter Name="CanHaveParts" Direction="In" Value="${CanHaveParts}" />
<Parameter Name="IgnoreEndTime" Direction="In" Value="${IgnoreEndTime}" />
<Parameter Name="IsDeliveryLocation" Direction="In" Value="${IsDeliveryLocation}" />
<Parameter Name="IsScarce" Direction="In" Value="${IsScarce}" />
</Insert>
<Assign Name="set Employee.ReservableObject" Property="${Employee.ReservableObject}" Value="${ReservableObject}" />
</Transaction>
</When>
<Otherwise Name="Employee already reservable">
<Assign Name="set ReservableObject" Property="${ReservableObject}" Value="${Employee.ReservableObject}" />
</Otherwise>
</Choose>
<UserContent Name="Post" />
<When Name="Choose check open screen » Open screen is set" Condition="${OpenScreen} == True">
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${ReservableObject}" />
</View>
</When>
</Execution>
</Workflow>