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

ActionField1740

Beschrijving: Change progress status of Equipment. Reopen or approve preventive maintenance. Custom: Nee

Propertiesbewerken

Property Type Accessor
Equipment Equipment Root

XMLbewerken

<Workflow Name="ActionField1740" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change progress status of Equipment. Reopen or approve preventive maintenance.</Description>
	<Properties>
		<Property	Name="Equipment"				Type="Equipment"		Accessor="Root"		Direction="In" />

		<Property	Name="AutoRemark"				Type="UltimoString"		Accessor="Internal" />
		<Property	Name="NewProgressStatus"		Type="ProgressStatus"	Accessor="Internal" />
		<Property	Name="NonUpdatedEquipmentList"	Type="List[Equipment]"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="DomainObject_ValidateProgressStatusIsTrashed" WorkflowName="DomainObject_ValidateProgressStatusIsTrashed">
			<Parameter	Name="DomainObject"	Direction="In"		Value="${Equipment}" />
		</WorkflowCall>

		<Transaction>
			<Command Name="Get label to prefill remark with" CommandName="GetLabel">
				<Parameter	Name="DomainObject"	Direction="In"		Value="${Equipment}" />
				<Parameter	Name="LabelCode"	Direction="In"		Value="CHANGESTATUS_INITIATED_FROM_OBJECT" />
				<Parameter	Name="LabelValue"	Direction="Out"													OutputProperty="${AutoRemark}" />
			</Command>
		</Transaction>

		<WorkflowCall Name="Equipment_ChangeProgressStatus" WorkflowName="Equipment_ChangeProgressStatus">
			<Parameter	Name="AutoRemark"				Direction="In"		Value="${AutoRemark}" />
			<Parameter	Name="Equipment"				Direction="In"		Value="${Equipment}" />
			<Parameter	Name="NewProgressStatus"		Direction="Out"								OutputProperty="${NewProgressStatus}" />
			<Parameter	Name="NonUpdatedEquipmentList"	Direction="Out"								OutputProperty="${NonUpdatedEquipmentList}" />
		</WorkflowCall>

		<When Name="When status change for underlying equipment was skipped" Condition="${NonUpdatedEquipmentList} != Empty &amp;&amp; ${NonUpdatedEquipmentList.Count} &gt; 0">
			<Message Name="Show underlying equipment whose status was not changed because it differs from parent" MessageCode="3522">
				<Parameter	Name="NewProgressStatusDescription"	Direction="In"		Value="${NewProgressStatus.Description}" />
				<Parameter	Name="NonUpdatedEquipmentList"		Direction="In"		Value="${NonUpdatedEquipmentList}" />
			</Message>
		</When>

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