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

ActionField633

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

Propertiesbewerken

Property Type Accessor
ProcessFunction ProcessFunction Root

XMLbewerken

<Workflow Name="ActionField633" 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 ProcessFunction is valid.</Description>
	<Properties>
		<Property	Name="ProcessFunction"			Type="ProcessFunction"	Accessor="Root"		Direction="In" />

		<Property	Name="ErrorType"				Type="PartOfErrorType"	Accessor="Internal" />
		<Property	Name="OtherProcessFunction"		Type="DomainObject"		Accessor="Internal" />
		<Property	Name="ProcessFunctionIdList"	Type="String"			Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Command Name="Check PartOf" CommandName="DomainObject_CheckPartOf">
				<Parameter	Name="DomainObject"			Direction="In"		Value="${ProcessFunction}" />
				<Parameter	Name="PartOfPropertyName"	Direction="In"		Value="PartOfProcessFunction" />
				<Parameter	Name="ChainWithPartOfIds"	Direction="Out"										OutputProperty="${ProcessFunctionIdList}" />
				<Parameter	Name="OtherDomainObject"	Direction="Out"										OutputProperty="${OtherProcessFunction}" />
				<Parameter	Name="PartOfErrorType"		Direction="Out"										OutputProperty="${ErrorType}" />
			</Command>

			<When Name="Check for no error » No error" Condition="${ErrorType} == None &amp;&amp; ${ProcessFunction.PartOfProcessFunction} != Empty">
				<Assign Name="Copy FromGeocodeX" Property="${ProcessFunction.FromGeocodeX}" Value="${ProcessFunction.PartOfProcessFunction.FromGeocodeX}" />
				<Assign Name="Copy TillGeocodeX" Property="${ProcessFunction.TillGeocodeX}" Value="${ProcessFunction.PartOfProcessFunction.TillGeocodeX}" />
			</When>
		</Transaction>

		<UserContent Name="Post" />

		<Choose Name="Check Error Type">
			<When Name="Error Type is Other" Condition="${ErrorType} == Other">
				<Message Name="ErrorOther" MessageCode="0970">
					<Parameter	Name="OtherProcessFunction"	Direction="In"		Value="${OtherProcessFunction}" />
					<Parameter	Name="ProcessFunction"		Direction="In"		Value="${ProcessFunction}" />
				</Message>
			</When>


			<When Name="Error Type is List" Condition="${ErrorType} == List">
				<Message Name="ErrorList" MessageCode="0971">
					<Parameter	Name="OtherProcessFunction"		Direction="In"		Value="${OtherProcessFunction}" />
					<Parameter	Name="ProcessFunction"			Direction="In"		Value="${ProcessFunction}" />
					<Parameter	Name="ProcessFunctionIdList"	Direction="In"		Value="${ProcessFunctionIdList}" />
				</Message>
			</When>
		</Choose>
	</Execution>
</Workflow>