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

ActionField635

Beschrijving: Check if the part-of-structure of Location is valid. Custom: Nee

Propertiesbewerken

Property Type Accessor
Location Location Root

XMLbewerken

<Workflow Name="ActionField635" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Check if the part-of-structure of Location is valid.</Description>
	<Properties>
		<Property	Name="Location"			Type="Location"			Accessor="Root"		Direction="In" />

		<Property	Name="ErrorType"		Type="PartOfErrorType"	Accessor="Internal" />
		<Property	Name="LocationIdList"	Type="String"			Accessor="Internal" />
		<Property	Name="OtherLocation"	Type="Location"			Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Command Name="Check PartOf" CommandName="DomainObject_CheckPartOf">
				<Parameter	Name="DomainObject"			Direction="In"		Value="${Location}" />
				<Parameter	Name="PartOfPropertyName"	Direction="In"		Value="PartOfLocation" />
				<Parameter	Name="ChainWithPartOfIds"	Direction="Out"								OutputProperty="${LocationIdList}" />
				<Parameter	Name="OtherDomainObject"	Direction="Out"								OutputProperty="${OtherLocation}" />
				<Parameter	Name="PartOfErrorType"		Direction="Out"								OutputProperty="${ErrorType}" />
			</Command>
		</Transaction>

		<UserContent Name="Post" />

		<Choose Name="Check Error Type">
			<When Name="Error Type is Self" Condition="${ErrorType} == Self">
				<Message Name="ErrorSelf" MessageCode="0946">
					<Parameter	Name="Location"	Direction="In"		Value="${Location}" />
				</Message>
			</When>


			<When Name="Error Type is Other" Condition="${ErrorType} == Other">
				<Message Name="ErrorOther" MessageCode="0974">
					<Parameter	Name="Location"			Direction="In"		Value="${Location}" />
					<Parameter	Name="OtherLocation"	Direction="In"		Value="${OtherLocation}" />
				</Message>
			</When>


			<When Name="Error Type is List" Condition="${ErrorType} == List">
				<Message Name="ErrorList" MessageCode="0975">
					<Parameter	Name="Location"			Direction="In"		Value="${Location}" />
					<Parameter	Name="LocationIdList"	Direction="In"		Value="${LocationIdList}" />
					<Parameter	Name="OtherLocation"	Direction="In"		Value="${OtherLocation}" />
				</Message>
			</When>
		</Choose>
	</Execution>
</Workflow>