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

ActionField1739

Beschrijving: Build out Equipment or ExchangePart from ProcessFunction. Custom: Nee

Propertiesbewerken

Property Type Accessor
Equipment Equipment Root
AlwaysBuildOutChildEquipments Boolean Optional
EmployeeContextToSearch List[Context] Optional
EquipmentViewFieldConfig UltimoString Optional
LocationContextToSearch List[Context] Optional
ProcessFunction ProcessFunction Optional
ProcessFunctionContextsToIncludeExchangePartsFor List[Context] Optional
ProcessFunctionContextsToSearch List[Context] Optional
ProcessFunctionViewFieldConfig UltimoString Optional
VendorContextToSearch List[Context] Optional
WarehouseContextToSearch List[Context] Optional

XMLbewerken

<Workflow Name="ActionField1739" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Build out Equipment or ExchangePart from ProcessFunction.</Description>
	<Properties>
		<Property	Name="Equipment"										Type="Equipment"		Accessor="Root"		Direction="In"																						Comment="When Equipment.ExchangePart == True then Equipment is an ExchangePart." />

		<Property	Name="AlwaysBuildOutChildEquipments"					Type="Boolean"			Accessor="Optional"	Direction="In"		Default="True"																	Comment="Set this to True to avoid question 0323." />
		<Property	Name="EmployeeContextToSearch"							Type="List[Context]"	Accessor="Optional"	Direction="In"		Default="EmployeeContext.Standard"												Comment="Select Employee from Employees with these contexts" />
		<Property	Name="EquipmentViewFieldConfig"							Type="UltimoString"		Accessor="Optional"	Direction="In"		Default="Default"																Comment="Set the ViewFieldConfig for the Equipment selection list" />
		<Property	Name="LocationContextToSearch"							Type="List[Context]"	Accessor="Optional"	Direction="In"		Default="LocationContext.Standard"												Comment="Select Location from Locations with these contexts" />
		<Property	Name="ProcessFunction"									Type="ProcessFunction"	Accessor="Optional"	Direction="In" />
		<Property	Name="ProcessFunctionContextsToIncludeExchangePartsFor"	Type="List[Context]"	Accessor="Optional"	Direction="In"		Default="ProcessFunctionContext.ProcessFunction, ProcessFunctionContext.Fleet"	Comment="Include ExchangeParts when building out of ProcessFunctions with these contexts" />
		<Property	Name="ProcessFunctionContextsToSearch"					Type="List[Context]"	Accessor="Optional"	Direction="In"		Default="ProcessFunctionContext.ProcessFunction"								Comment="Select ProcessFunction from ProcessFunctions with these contexts" />
		<Property	Name="ProcessFunctionViewFieldConfig"					Type="UltimoString"		Accessor="Optional"	Direction="In"		Default="Default"																Comment="Set the ViewFieldConfig for the ProcessFunction selection list" />
		<Property	Name="VendorContextToSearch"							Type="List[Context]"	Accessor="Optional"	Direction="In"		Default="VendorContext.Standard"												Comment="Select Vendor from Vendors with these contexts" />
		<Property	Name="WarehouseContextToSearch"							Type="List[Context]"	Accessor="Optional"	Direction="In"		Default="WarehouseContext.Standard"												Comment="Select Warehouse from Warehouses with these contexts" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Choose>
			<When Name="Exchange part for TS or Fleet" Condition="(${Equipment.Context} == EquipmentContext.Installation || ${Equipment.Context} == EquipmentContext.Fleet) &amp;&amp; ${Equipment.ExchangePart} == True">
				<WorkflowCall Name="Equipment_BuildOutExchangePart" WorkflowName="Equipment_BuildOutExchangePart">
					<Parameter	Name="EmployeeContextsToSearch"		Direction="In"		Value="${EmployeeContextToSearch}" />
					<Parameter	Name="Equipment"					Direction="In"		Value="${Equipment}" />
					<Parameter	Name="LocationContextsToSearch"		Direction="In"		Value="${LocationContextToSearch}" />
					<Parameter	Name="ProcessFunction"				Direction="In"		Value="${ProcessFunction}" />
					<Parameter	Name="VendorContextsToSearch"		Direction="In"		Value="${VendorContextToSearch}" />
					<Parameter	Name="WarehouseContextsToSearch"	Direction="In"		Value="${WarehouseContextToSearch}" />
				</WorkflowCall>
			</When>

			<Otherwise>
				<WorkflowCall Name="Equipment_BuildOut" WorkflowName="Equipment_BuildOut">
					<Parameter	Name="AlwaysBuildOutChildEquipments"					Direction="In"		Value="${AlwaysBuildOutChildEquipments}" />
					<Parameter	Name="EmployeeContextsToSearch"							Direction="In"		Value="${EmployeeContextToSearch}" />
					<Parameter	Name="Equipment"										Direction="In"		Value="${Equipment}" />
					<Parameter	Name="EquipmentViewFieldConfig"							Direction="In"		Value="${EquipmentViewFieldConfig}" />
					<Parameter	Name="ProcessFunction"									Direction="In"		Value="${Equipment.ProcessFunction}" />
					<Parameter	Name="ProcessFunctionContextsToIncludeExchangePartsFor"	Direction="In"		Value="${ProcessFunctionContextsToIncludeExchangePartsFor}" />
					<Parameter	Name="ProcessFunctionContextsToSearch"					Direction="In"		Value="${ProcessFunctionContextsToSearch}" />
					<Parameter	Name="ProcessFunctionViewFieldConfig"					Direction="In"		Value="${ProcessFunctionViewFieldConfig}" />
				</WorkflowCall>
			</Otherwise>
		</Choose>

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