Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1723
ActionField1723
Beschrijving: Delete an ObjectDowntime record Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| ObjectDowntime | ObjectDowntime | Root |
XMLbewerken
<Workflow Name="ActionField1723" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Delete an ObjectDowntime record</Description>
<Properties>
<Property Name="ObjectDowntime" Type="ObjectDowntime" Accessor="Root" Direction="In" />
<Property Name="ShiftLogLine" Type="ShiftLogLine" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Transaction>
<GetItem Name="Get ShiftLogLine" Type="ShiftLogLine" OutputProperty="${ShiftLogLine}">
<Filters>
<PropertyFilter PropertyName="ObjectDowntime" Operator="=" PropertyValue="${ObjectDowntime}" />
</Filters>
</GetItem>
</Transaction>
<Choose Name="Choose ShiftLogLine">
<When Name="Not created from a ShiftLogLine" Condition="${ShiftLogLine} == Empty">
<ContinuationQuestion Name="ContinueDeletingDowntime?" MessageCode="3456" Default="Yes">
<Parameter Name="ObjectDowntime" Direction="In" Value="${ObjectDowntime}" />
</ContinuationQuestion>
</When>
<Otherwise Name="Created from a ShiftLogLine">
<ContinuationQuestion Name="ContinueDeletingDowntimeLinkedToShiftLogLine?" MessageCode="3460" Default="Yes">
<Parameter Name="ObjectDowntime" Direction="In" Value="${ObjectDowntime}" />
<Parameter Name="ShiftLog" Direction="In" Value="${ShiftLogLine.ShiftLog}" />
</ContinuationQuestion>
</Otherwise>
</Choose>
<Transaction>
<When Name="ShiftLogLine was found" Condition="${ShiftLogLine} != Empty">
<Assign Name="Nullify ObjectDowntime" Property="${ShiftLogLine.ObjectDowntime}" Value="Empty" />
<Assign Name="Reset ReportObjectDowntime" Property="${ShiftLogLine.ReportObjectDowntime}" Value="False" />
</When>
<DeleteObject Name="remove ObjectDowntime record" DomainObject="${ObjectDowntime}" />
</Transaction>
<UserContent Name="Post" />
</Execution>
</Workflow>