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

ActionField048

Beschrijving: Approve PmJob (from status Created). Custom: Nee

Propertiesbewerken

Property Type Accessor
PmJob PmJob Root

XMLbewerken

<Workflow Name="ActionField048" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Approve PmJob (from status Created).</Description>
	<Properties>
		<Property	Name="PmJob"	Type="PmJob"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Validation Name="PmJob not created" Condition="${PmJob.Status} == PmJobStatus.Created" MessageCode="0369">
			<Parameter	Name="PmJob"	Direction="In"		Value="${PmJob}" />
		</Validation>

		<WorkflowCall Name="Settings" WorkflowName="PmJob_ApproveSettings">
			<Parameter	Name="PmJob"	Direction="In"		Value="${PmJob}" />
		</WorkflowCall>

		<Transaction>
			<ChangeStatus Name="PmJobApprove" DomainObject="${PmJob}" NewStatus="PmJobStatus.Approved" />
		</Transaction>

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