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

ActionField050

Beschrijving: Copy features from EquipmentType to all Equipments and ProcessFunctions of this type. Custom: Nee

Propertiesbewerken

Property Type Accessor
EquipmentType EquipmentType Root
EquipmentContext List[Context] Optional
ProcessFunctionContext List[Context] Optional
UseProcessFunction Boolean Optional

XMLbewerken

<Workflow Name="ActionField050" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Copy features from EquipmentType to all Equipments and ProcessFunctions of this type.</Description>
	<Properties>
		<Property	Name="EquipmentType"			Type="EquipmentType"	Accessor="Root"		Direction="In" />

		<Property	Name="EquipmentContext"			Type="List[Context]"	Accessor="Optional"	Direction="In"														Comment="Update only Equipments with these contexts" />
		<Property	Name="ProcessFunctionContext"	Type="List[Context]"	Accessor="Optional"	Direction="In"														Comment="Update only ProcessFunctions with these contexts" />
		<Property	Name="UseProcessFunction"		Type="Boolean"			Accessor="Optional"	Direction="In"		Default="#{UltimoSettings.UseProcessFunction}"	Comment="Update processfunctions also" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Assign Name="Set Property Into Setting" Property="#{UltimoSettings.UseProcessFunction}" Value="${UseProcessFunction}" />

			<Command Name="Copy type features" CommandName="Equipment_CopyTypeFeatures">
				<Parameter	Name="EquipmentContext"			Direction="In"		Value="${EquipmentContext}" />
				<Parameter	Name="EquipmentType"			Direction="In"		Value="${EquipmentType}" />
				<Parameter	Name="ProcessFunctionContext"	Direction="In"		Value="${ProcessFunctionContext}" />
			</Command>
		</Transaction>

		<Message Name="ummFEATURESCOPIED" MessageCode="0336" />

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