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

ActionField970

Beschrijving: Validate duplicate ProgressStatuses on ObjectProgressStatus. Custom: Nee

Propertiesbewerken

Property Type Accessor
ObjectProgressStatus ObjectProgressStatus Root

XMLbewerken

<Workflow Name="ActionField970" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Validate duplicate ProgressStatuses on ObjectProgressStatus.</Description>
	<Properties>
		<Property	Name="ObjectProgressStatus"	Type="ObjectProgressStatus"	Accessor="Root"		Direction="In" />

		<Property	Name="DomainObject"			Type="DomainObject"			Accessor="Internal" />
		<Property	Name="ProgressStatus"		Type="ProgressStatus"		Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Transaction>
			<Assign Name="Set ProgressStatus" Property="${ProgressStatus}" Value="${ObjectProgressStatus.ProgressStatus}" />

			<When Name="A Progress status" Condition="${ProgressStatus} != Empty">
				<Command Name="ObjectProgressStatus_ValidateDuplications" CommandName="ObjectProgressStatus_ValidateDuplications">
					<Parameter	Name="ObjectProgressStatus"		Direction="In"		Value="${ObjectProgressStatus}" />
					<Parameter	Name="DuplicateDomainObject"	Direction="Out"										OutputProperty="${DomainObject}" />
				</Command>
			</When>
		</Transaction>

		<UserContent Name="Post" />

		<When Name="Duplicate DomainObject" Condition="${DomainObject} != Empty">
			<Message Name="Duplicate" MessageCode="1854">
				<Parameter	Name="DomainObject"		Direction="In"		Value="${DomainObject}" />
				<Parameter	Name="ProgressStatus"	Direction="In"		Value="${ProgressStatus}" />
			</Message>
		</When>
	</Execution>
</Workflow>