Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1633
ActionField1633
Beschrijving: Copies to MultijobTemplateLine the DurationCalculated from JobPlan specified on ServiceDeskReportType. Sets TimeUnit to Hours. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| MultijobTemplateLine | MultijobTemplateLine | Root |
XMLbewerken
<Workflow Name="ActionField1633" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Copies to MultijobTemplateLine the DurationCalculated from JobPlan specified on ServiceDeskReportType. Sets TimeUnit to Hours.</Description>
<Properties>
<Property Name="MultijobTemplateLine" Type="MultijobTemplateLine" Accessor="Root" Direction="In" />
<Property Name="TimeUnitHours" Type="TimeUnit" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<When Name="NeededDurationQuantity?" Condition="${MultijobTemplateLine.NeededDurationQuantity} == 0">
<When Name="JobPlan?" Condition="${MultijobTemplateLine.ServiceDeskReportType.JobPlan?} != Empty && ${MultijobTemplateLine.ServiceDeskReportType.JobPlan.DurationCalculated} != 0">
<Transaction>
<Assign Name="NeededDurationQuantity" Property="${MultijobTemplateLine.NeededDurationQuantity}" Value="${MultijobTemplateLine.ServiceDeskReportType.JobPlan.DurationCalculated}" />
<Comment><![CDATA[DurationCalculated is always in Hours.]]></Comment>
<GetItem Name="TimeUnitHours" Type="TimeUnit" OutputProperty="${TimeUnitHours}">
<Filters>
<PropertyFilter PropertyName="Type" Operator="=" PropertyValue="TimeUnitType.Hours" />
<PropertyFilter PropertyName="Context" Operator="=" PropertyValue="TimeUnitContext.Multijob" />
</Filters>
</GetItem>
<When Name="TimeUnitHours?" Condition="${TimeUnitHours} != Empty">
<Assign Name="NeededDurationTimeUnit" Property="${MultijobTemplateLine.NeededDurationTimeUnit}" Value="${TimeUnitHours}" />
</When>
</Transaction>
</When>
</When>
<UserContent Name="Post" />
</Execution>
</Workflow>