Categorie: reference Bijgewerkt: 2026-04-08 actionfield workflow actionfield708

ActionField708

Beschrijving: Create InspectionPlan (checklist) for DomainObject from InspectionPlan selected via Dialog. Custom: Nee

Propertiesbewerken

Property Type Accessor
DomainObject DomainObject Root
InspectionPlanContext Context Optional
LabelCode String Optional
SelectionListConfiguration String Optional

XMLbewerken

<Workflow Name="ActionField708" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Create InspectionPlan (checklist) for DomainObject from InspectionPlan selected via Dialog.</Description>
	<Properties>
		<Property	Name="DomainObject"					Type="DomainObject"		Accessor="Root"		Direction="In" />

		<Property	Name="InspectionPlanContext"		Type="Context"			Accessor="Optional"	Direction="In"		Default="InspectionPlanContext.SafetyDossierStandard"	Comment="Only select InspectPlans with this context" />
		<Property	Name="LabelCode"					Type="String"			Accessor="Optional"	Direction="In"		Default="SELECTISP"										Comment="Labelcode for the CollectInputFormula" />
		<Property	Name="SelectionListConfiguration"	Type="String"			Accessor="Optional"	Direction="In"		Default="Indienststelling"								Comment="Use this SelectionListConfiguration for the CollectInputFormula" />

		<Property	Name="InspectionPlan"				Type="InspectionPlan"	Accessor="Internal" />
		<Property	Name="ObjectInspectionLineContext"	Type="Context"			Accessor="Internal" />
		<Property	Name="ObjectInspectionPlanContext"	Type="Context"			Accessor="Internal" />
		<Property	Name="ObjectInspectionPlanCount"	Type="Int64"			Accessor="Internal"						Default="-1" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Dialog Name="InspectionPlanDialog" TitleCode="${LabelCode}">
			<Container>
				<SelectionList Name="InspectionPlan" OutputProperty="${InspectionPlan}" ColumnName="IspId" ViewfieldConfiguration="${SelectionListConfiguration}" Required="True" SqlWhereClause="IspContext = '${InspectionPlanContext}' and IspRecStatus = '2'" />
			</Container>
		</Dialog>

		<WorkflowCall Name="InspectionPlan_CreateObjectInspectionPlan" WorkflowName="InspectionPlan_CreateObjectInspectionPlan">
			<Parameter	Name="DomainObject"		Direction="In"		Value="${DomainObject}" />
			<Parameter	Name="EnableValidation"	Direction="In"		Value="True" />
			<Parameter	Name="InspectionPlan"	Direction="In"		Value="${InspectionPlan}" />
		</WorkflowCall>

		<UserContent Name="Post" />
	</Execution>
</Workflow>