Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1811
ActionField1811
Beschrijving: Delete an InspectionLine from detail screen and navigate back to parent object Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| DomainObject | DomainObject | Root |
XMLbewerken
<Workflow Name="ActionField1811" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Delete an InspectionLine from detail screen and navigate back to parent object</Description>
<Properties>
<Property Name="DomainObject" Type="DomainObject" Accessor="Root" Direction="In" />
<Property Name="ParentObject" Type="DomainObject" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<When Name="Check if PmJob" Condition="${DomainObject.EntityName} == PmJobInspectionLine">
<Validation Name="Validate PmJob status" Condition="${DomainObject.Id.PmJob.Status} != PmJobStatus.Approved" MessageCode="3736">
<Parameter Name="Create" Direction="In" Value="False" />
<Parameter Name="PmJob" Direction="In" Value="${DomainObject.Id.PmJob}" />
</Validation>
</When>
<Choose Name="Determine target screen to navigate to">
<When Name="When inspection line is JobInspectionLine" Condition="${DomainObject.EntityName} == JobInspectionLine">
<Assign Name="Set Job as ParentObject" Property="${ParentObject}" Value="${DomainObject.Id.Job}" />
</When>
<When Name="When inspection line is JobPlanInspectionLine" Condition="${DomainObject.EntityName} == JobPlanInspectionLine">
<Assign Name="Set JobPlan as ParentObject" Property="${ParentObject}" Value="${DomainObject.Id.JobPlan}" />
</When>
<When Name="When inspection line is PmJobInspectionLine" Condition="${DomainObject.EntityName} == PmJobInspectionLine">
<Assign Name="Set PmJob as ParentObject" Property="${ParentObject}" Value="${DomainObject.Id.PmJob}" />
</When>
</Choose>
<WorkflowCall Name="Delete InspectionLine" WorkflowName="DomainObject_Delete">
<Parameter Name="DomainObject" Direction="In" Value="${DomainObject}" />
</WorkflowCall>
<UserContent Name="Post" />
<View Name="OpenScreen" ViewName="DataEntryScreen">
<Parameter Name="DomainObject" Direction="In" Value="${ParentObject}" />
</View>
</Execution>
</Workflow>