Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1615
ActionField1615
Beschrijving: Triggered when changing DurationUntilScheduledStartDate/DurationUntilTargetDate. If duration == 0, then reset SetScheduledStartDateToStartOfWorkingDay/SetTargetDateToEndOfWorkingDay. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Priority | Priority | Root |
XMLbewerken
<Workflow Name="ActionField1615" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Triggered when changing DurationUntilScheduledStartDate/DurationUntilTargetDate. If duration == 0, then reset SetScheduledStartDateToStartOfWorkingDay/SetTargetDateToEndOfWorkingDay.</Description>
<Properties>
<Property Name="Priority" Type="Priority" Accessor="Root" Direction="In" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<Choose Name="Which PrioCalculateDateReferencePoint has been chosen?">
<When Name="When PrioCalculateDateReferencePoint = ScheduledStartDateBased" Condition="${Priority.CalculateDateReferencePoint} == ScheduledStartDateBased">
<Command Name="RoundNumberOfHours" CommandName="RoundNumberOfHours">
<Parameter Name="GrossHours" Direction="In" Value="${Priority.DurationUntilScheduledStartDate}" />
<Parameter Name="RoundedHoursMinimumValueIsRoundingUnit" Direction="In" Value="True" />
<Parameter Name="RoundMethod" Direction="In" Value="Quarter" />
<Parameter Name="RoundedHours" Direction="Out" OutputProperty="${Priority.DurationUntilScheduledStartDate}" />
</Command>
<When Name="if DurationUntilScheduledStartDate 0, reset SetScheduledStartDateToStartOfWorkingDay" Condition="${Priority.DurationUntilScheduledStartDate} == 0">
<Assign Name="reset value of SetScheduledStartDateToStartOfWorkingDay" Property="${Priority.SetScheduledStartDateToStartOfWorkingDay}" Value="False" />
</When>
</When>
<When Name="When PrioCalculateDateReferencePoint = TargetDateBased" Condition="${Priority.CalculateDateReferencePoint} == TargetDateBased">
<Command Name="RoundNumberOfHours" CommandName="RoundNumberOfHours">
<Parameter Name="GrossHours" Direction="In" Value="${Priority.DurationUntilTargetDate}" />
<Parameter Name="RoundedHoursMinimumValueIsRoundingUnit" Direction="In" Value="True" />
<Parameter Name="RoundMethod" Direction="In" Value="Quarter" />
<Parameter Name="RoundedHours" Direction="Out" OutputProperty="${Priority.DurationUntilTargetDate}" />
</Command>
<When Name="if DurationUntilTargetDate 0, reset SetTargetDateToEndOfWorkingDay" Condition="${Priority.DurationUntilTargetDate} == 0">
<Assign Name="reset value of SetTargetDateToEndOfWorkingDay" Property="${Priority.SetTargetDateToEndOfWorkingDay}" Value="False" />
</When>
</When>
</Choose>
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>