Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield683
ActionField683
Beschrijving: Create a new SpaceMaintenance from a LongTermAsset.PartOfLongTermAsset. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| LongTermAsset | LongTermAsset | Root |
XMLbewerken
<Workflow Name="ActionField683" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Create a new SpaceMaintenance from a LongTermAsset.PartOfLongTermAsset. </Description>
<Properties>
<Property Name="LongTermAsset" Type="LongTermAsset" Accessor="Root" Direction="In" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<WorkflowCall Name="CheckForCircularDependency" WorkflowName="LongTermAsset_CircularCheck">
<Parameter Name="LongTermAsset" Direction="In" Value="${LongTermAsset}" />
</WorkflowCall>
<When Name="PartOfValueSet » IsPartOfLongTermAssetSet" Condition="${LongTermAsset.PartOfLongTermAsset} != Empty">
<Choose Name="ChooseSelectedItemLongTermAssetIdIsPartOfLongTermAsset">
<When Name="WhenSelectedItemLongTermAssetIdIsPartOfLongTermAsset" Condition="${LongTermAsset} == ${LongTermAsset.PartOfLongTermAsset}">
<Message Name="LongTermAssetCannotBePartOfLongTermAsset" MessageCode="1254" />
<Transaction>
<Assign Name="DeleteSelectedPartOfLongTermAssetItem" Property="${LongTermAsset.PartOfLongTermAsset}" Value="Empty" />
</Transaction>
</When>
<Otherwise Name="OtherwiseItemLongTermAssetIdIsPartOfLongTermAsset">
<Transaction>
<When Name="Space maintenance set?" Condition="${LongTermAsset.SpaceMaintenance} == Empty">
<WorkflowCall Name="Create space maintenance for long term asset" WorkflowName="LongTermAsset_CreateSpaceMaintenance">
<Parameter Name="LongTermAsset" Direction="In" Value="${LongTermAsset}" />
<Parameter Name="SpaceMaintenance" Direction="Out" OutputProperty="${LongTermAsset.SpaceMaintenance}" />
</WorkflowCall>
</When>
<When Name="Space maintenance set?" Condition="${LongTermAsset.PartOfLongTermAsset.SpaceMaintenance} == Empty">
<WorkflowCall Name="Create space maintenance for long term asset" WorkflowName="LongTermAsset_CreateSpaceMaintenance">
<Parameter Name="LongTermAsset" Direction="In" Value="${LongTermAsset.PartOfLongTermAsset}" />
<Parameter Name="SpaceMaintenance" Direction="Out" OutputProperty="${LongTermAsset.PartOfLongTermAsset.SpaceMaintenance}" />
</WorkflowCall>
</When>
<WorkflowCall Name="Update space maintenance totals" WorkflowName="SpaceMaintenance_UpdateTotals">
<Parameter Name="SpaceMaintenance" Direction="In" Value="${LongTermAsset.PartOfLongTermAsset.SpaceMaintenance}" />
</WorkflowCall>
</Transaction>
</Otherwise>
</Choose>
</When>
<UserContent Name="Post" />
</Execution>
</Workflow>