Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1535
ActionField1535
Beschrijving: Validate if printing in two columns (PrintInTwoColumns) is possible for this InspectionPlan. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| InspectionPlan | InspectionPlan | Root |
XMLbewerken
<Workflow Name="ActionField1535" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Validate if printing in two columns (PrintInTwoColumns) is possible for this InspectionPlan.</Description>
<Properties>
<Property Name="InspectionPlan" Type="InspectionPlan" Accessor="Root" Direction="In" />
<Property Name="InspectionPlanLineCount" Type="Int32" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<When Name="New value is true" Condition="${InspectionPlan.PrintInTwoColumns} == True">
<Transaction>
<GetCount Name="Check for InspectionLines with ShowDone True" Type="InspectionPlanLine" OutputProperty="${InspectionPlanLineCount}">
<Filters>
<CombinedFilter FilterOperator="And">
<PropertyFilter PropertyName="ShowDone" Operator="=" PropertyValue="True" />
<PropertyFilter PropertyName="Id.InspectionPlan" Operator="=" PropertyValue="${InspectionPlan}" />
</CombinedFilter>
</Filters>
</GetCount>
</Transaction>
<When Name="InspectionPlan has lines with ShowDone True" Condition="${InspectionPlanLineCount} > 0">
<Message Name="Show message printing in 2 columns is not possible" MessageCode="2798">
<Parameter Name="InspectionPlan" Direction="In" Value="${InspectionPlan}" />
</Message>
<Transaction>
<Assign Name="Reset Boolean" Property="${InspectionPlan.PrintInTwoColumns}" Value="False" />
</Transaction>
</When>
</When>
<UserContent Name="Post" />
</Execution>
</Workflow>