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

ActionField122

Beschrijving: Changes status of PmSchedulePmWorkOrder the new status can be selected in a dialog. Custom: Nee

Propertiesbewerken

Property Type Accessor
PmSchedulePmWorkOrder PmSchedulePmWorkOrder Root

XMLbewerken

<Workflow Name="ActionField122" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Changes status of PmSchedulePmWorkOrder the new status can be selected in a dialog.</Description>
	<Properties>
		<Property	Name="PmSchedulePmWorkOrder"	Type="PmSchedulePmWorkOrder"	Accessor="Root"		Direction="In" />

		<Property	Name="NewStatus"				Type="Status"					Accessor="Internal" />
		<Property	Name="OldStatus"				Type="Status"					Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="StatusDialog" WorkflowName="Dialog_ChooseStatus">
			<Parameter	Name="DomainObject"	Direction="In"		Value="${PmSchedulePmWorkOrder}" />
			<Parameter	Name="Status"		Direction="Out"											OutputProperty="${NewStatus}" />
		</WorkflowCall>

		<UserContent Name="AfterDialog" />

		<Transaction>
			<Assign Name="OldStatus" Property="${OldStatus}" Value="${PmSchedulePmWorkOrder.Status}" />

			<ChangeStatus Name="Change status" DomainObject="${PmSchedulePmWorkOrder}" NewStatus="${NewStatus}" />

			<Command Name="PmSchedulePmWorkOrder_ModifyParentSchedule" CommandName="PmSchedulePmWorkOrder_ModifyParentSchedule">
				<Parameter	Name="OldStatus"				Direction="In"		Value="${OldStatus}" />
				<Parameter	Name="PmSchedulePmWorkOrder"	Direction="In"		Value="${PmSchedulePmWorkOrder}" />
			</Command>
		</Transaction>

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