Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield769
ActionField769
Beschrijving: Set MaximumDuration for ReservableObject(Type) to zero. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ReservableObjectType | ReservableObjectType | Root |
XMLbewerken
<Workflow Name="ActionField769" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Set MaximumDuration for ReservableObject(Type) to zero.</Description>
<Properties>
<Property Name="ReservableObjectType" Type="ReservableObjectType" Accessor="Root" Direction="In" />
<Property Name="ReservableObjects" Type="List[ReservableObject]" Accessor="Internal" />
<Property Name="ReservationMaximumDurationAnswer" Type="RequestResult" Accessor="Internal" Default="No" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<When Name="ReservableObjectTypeSelectable check » ReservableObjectType is selectable" Condition="${ReservableObjectType.IsSelectable} == Selectable || ${ReservableObjectType.IsSelectable} == OnlyTypeSelectable">
<Question Name="Ask for reset maximumduration" Type="YesNo" MessageCode="1544" OutputProperty="${ReservationMaximumDurationAnswer}" />
<Transaction>
<Choose Name="Check reset maximumduration">
<When Name="Not reset maximumduration" Condition="${ReservationMaximumDurationAnswer} == Yes">
<GetList Name="Get reservableobjects" Type="ReservableObject" OutputProperty="${ReservableObjects}" OrderBy="Id" OrderDirection="Ascending">
<Joins>
<Join Name="ReservableObjectType" Alias="resot" Type="InnerJoin" />
</Joins>
<Filters>
<PropertyFilter PropertyName="ReservableObjectType" Operator="=" PropertyValue="${ReservableObjectType}" />
</Filters>
</GetList>
<ForEach Name="LoopEachReservableObjects" In="${ReservableObjects}" As="ReservableObject">
<Assign Name="Set maximumduration zero" Property="${ReservableObject.MaximumDuration}" Value="0" />
</ForEach>
</When>
<Otherwise Name="Set maximumduration objecttype zero">
<Assign Name="Set maximumduration zero" Property="${ReservableObjectType.MaximumDuration}" Value="0" />
</Otherwise>
</Choose>
</Transaction>
</When>
<UserContent Name="Post" />
</Execution>
</Workflow>