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

ActionField165

Beschrijving: Change status of EquipmentSparePart from Standard to StandardModified. Custom: Nee

Propertiesbewerken

Property Type Accessor
EquipmentSparePart EquipmentSparePart Root

XMLbewerken

<Workflow Name="ActionField165" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of EquipmentSparePart from Standard to StandardModified.</Description>
	<Properties>
		<Property	Name="EquipmentSparePart"	Type="EquipmentSparePart"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<When Name="Check status » Status is standard" Condition="${EquipmentSparePart.Status} == EquipmentSparePartStatus.Standard">
			<Transaction>
				<ChangeStatus Name="Set status to Standard Modified" DomainObject="${EquipmentSparePart}" NewStatus="EquipmentSparePartStatus.StandardModified" />
			</Transaction>
		</When>

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