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

ActionField264

Beschrijving: Change status of Project to Active (status must be Created, Approved or Postponed). Custom: Nee

Propertiesbewerken

Property Type Accessor
Project Project Root

XMLbewerken

<Workflow Name="ActionField264" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of Project to Active (status must be Created, Approved or Postponed).</Description>
	<Properties>
		<Property	Name="Project"	Type="Project"	Accessor="Root"		Direction="In" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Validation Name="ValidationProjectCreated_ApprovedOrPostponed" Condition="${Project.Status} == ProjectStatus.Created || ${Project.Status} == ProjectStatus.Approved || ${Project.Status} == ProjectStatus.Postponed" MessageCode="0485">
			<Parameter	Name="Project"	Direction="In"		Value="${Project}" />
		</Validation>

		<Transaction>
			<ChangeStatus Name="ChangeProjectStatusToActive" DomainObject="${Project}" NewStatus="ProjectStatus.Active" />
		</Transaction>

		<Message Name="ChangeProjectStatusToActiveMessage" MessageCode="0472">
			<Parameter	Name="Project"	Direction="In"		Value="${Project}" />
		</Message>

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