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

ActionField1200

Beschrijving: Change status of ProcessFunctionMeasurementPointValue to Canceled. Give a reason via a dialog. Custom: Nee

Propertiesbewerken

Property Type Accessor
ProcessFunctionMeasurementPointValue ProcessFunctionMeasurementPointValue Root

XMLbewerken

<Workflow Name="ActionField1200" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of ProcessFunctionMeasurementPointValue to Canceled. Give a reason via a dialog.</Description>
	<Properties>
		<Property	Name="ProcessFunctionMeasurementPointValue"	Type="ProcessFunctionMeasurementPointValue"	Accessor="Root"		Direction="In" />

		<Property	Name="Reason"								Type="UltimoString"							Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<Dialog Name="ProcessFunctionMeasurementPointValueCancel" TitleCode="MEASUREMENTPOINTVALUECANCEL">
			<Container Border="True">
				<TextArea Name="Reason" Value="${Reason}" OutputProperty="${Reason}" Required="True" LabelCode="REASON" TextAreaRows="5" />
			</Container>
		</Dialog>

		<Transaction>
			<Assign Name="Set Reason" Property="${ProcessFunctionMeasurementPointValue.StatusCancelReason}" Value="${Reason}" />

			<ChangeStatus Name="Set status to Canceled" DomainObject="${ProcessFunctionMeasurementPointValue}" NewStatus="ProcessFunctionMeasurementPointValueStatus.Canceled" />
		</Transaction>

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