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

ActionField340

Beschrijving: Change status of LendableObjectMutation to Approved. Custom: Nee

Propertiesbewerken

Property Type Accessor
LendableObjectMutation LendableObjectMutation Root

XMLbewerken

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

		<Transaction>
			<Validation Name="LendableObjectMutation has status Created" Condition="${LendableObjectMutation.Status} == LendableObjectMutationStatus.Created" MessageCode="0092">
				<Parameter	Name="LendableObjectMutation"	Direction="In"		Value="${LendableObjectMutation}" />
			</Validation>
			<Validation Name="Employee must be specified" Condition="${LendableObjectMutation.ReceivedByEmployee} != Empty" MessageCode="0094">
				<Parameter	Name="LendableObjectMutation"	Direction="In"		Value="${LendableObjectMutation}" />
			</Validation>
			<Validation Name="LendableObjectMutation must have mutationlines" Condition="${LendableObjectMutation.Lines.Count} &gt; 0" MessageCode="0095">
				<Parameter	Name="LendableObjectMutation"	Direction="In"		Value="${LendableObjectMutation}" />
			</Validation>

			<ChangeStatus Name="Approve LendableObjectMutation" DomainObject="${LendableObjectMutation}" NewStatus="LendableObjectMutationStatus.Approved" />
		</Transaction>

		<Message Name="Approved" MessageCode="0100">
			<Parameter	Name="LendableObjectMutation"	Direction="In"		Value="${LendableObjectMutation}" />
		</Message>

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