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

ActionField332

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

Propertiesbewerken

Property Type Accessor
LendableObjectMutation LendableObjectMutation Root

XMLbewerken

<Workflow Name="ActionField332" 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 MutationApproved.</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.MutationCreated" MessageCode="0093">
				<Parameter	Name="LendableObjectMutation"	Direction="In"		Value="${LendableObjectMutation}" />
			</Validation>
			<Validation Name="LendableObjectMutation must have mutationlines" Condition="${LendableObjectMutation.Lines.Count} &gt; 0" MessageCode="0097">
				<Parameter	Name="LendableObjectMutation"	Direction="In"		Value="${LendableObjectMutation}" />
			</Validation>

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

		<UserContent Name="Post" />

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