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

ActionField964

Beschrijving: Select Employee automatically for ObjectConfirmationRole. Custom: Nee

Propertiesbewerken

Property Type Accessor
ObjectConfirmationRole ObjectConfirmationRole Root

XMLbewerken

<Workflow Name="ActionField964" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Select Employee automatically for ObjectConfirmationRole.</Description>
	<Properties>
		<Property	Name="ObjectConfirmationRole"	Type="ObjectConfirmationRole"	Accessor="Root"		Direction="In" />

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

		<Transaction>
			<Assign Name="Set ConfirmationRole" Property="${ConfirmationRole}" Value="${ObjectConfirmationRole.ConfirmationRole}" />

			<When Name="A Confirmation Role" Condition="${ConfirmationRole} != Empty">
				<Command Name="ObjectConfirmationRole_ValidateDuplications" CommandName="ObjectConfirmationRole_ValidateDuplications">
					<Parameter	Name="ObjectConfirmationRole"	Direction="In"		Value="${ObjectConfirmationRole}" />
					<Parameter	Name="DuplicateDomainObject"	Direction="Out"											OutputProperty="${DomainObject}" />
				</Command>

				<When Name="No duplicate DomainObject" Condition="${DomainObject} == Empty">
					<WorkflowCall Name="ConfirmationRole_GetEmployee" WorkflowName="ConfirmationRole_GetEmployee">
						<Parameter	Name="ConfirmationRole"	Direction="In"		Value="${ConfirmationRole}" />
						<Parameter	Name="Employee"			Direction="Out"									OutputProperty="${ObjectConfirmationRole.Employee}" />
					</WorkflowCall>
				</When>
			</When>
		</Transaction>

		<UserContent Name="Post" />

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