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

ActionField1144

Beschrijving: Change status of Jobs linked to WorkOrderSchedule. Custom: Nee

Propertiesbewerken

Property Type Accessor
WorkOrderSchedule WorkOrderSchedule Root
AutoAnswerToQuestion_1352 RequestResult? Optional
DefaultProgressStatusIdForQualityNotOk UltimoString Optional
DefaultProgressStatusIdForQualityOk UltimoString Optional
RemoveJobFromScheduleAfterProcessing Boolean Optional

XMLbewerken

<Workflow Name="ActionField1144" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Change status of Jobs linked to WorkOrderSchedule.</Description>
	<Properties>
		<Property	Name="WorkOrderSchedule"						Type="WorkOrderSchedule"	Accessor="Root"		Direction="In" />

		<Property	Name="AutoAnswerToQuestion_1352"				Type="RequestResult?"		Accessor="Optional"	Direction="In"		Default="Empty"	Comment="Set default answer for Question 1352 (Yes/No or Empty), when Empty the question will be shown" />
		<Property	Name="DefaultProgressStatusIdForQualityNotOk"	Type="UltimoString"			Accessor="Optional"	Direction="In"		Default="028"	Comment="Used for ‘Bulk PM’ only. Progress status used for the jobs created from the InspectionLines, which are not marked ‘Quality OK’." />
		<Property	Name="DefaultProgressStatusIdForQualityOk"		Type="UltimoString"			Accessor="Optional"	Direction="In"		Default="036"	Comment="Used for ‘Bulk PM’ only. Progress status used for the jobs created from the InspectionLines, which are marked ‘Quality OK’." />
		<Property	Name="RemoveJobFromScheduleAfterProcessing"		Type="Boolean"				Accessor="Optional"	Direction="In"		Default="True"	Comment="Set to False if the Job should not be removed from the WorkOrderSchedule after it is processed" />
	</Properties>
	<Settings>
		<SettingsGroup Name="JobInspectionLine">
			<Setting	Name="ProgressStatusIdForQualityNotOk"	Type="UltimoString"	Value="Empty" />
			<Setting	Name="ProgressStatusIdForQualityOk"		Type="UltimoString"	Value="Empty" />
		</SettingsGroup>
	</Settings>
	<Execution>
		<Assign Name="Set ProgressStatusIdForQualityOk voor BulkPO" Property="#{Settings.JobInspectionLine.ProgressStatusIdForQualityOk}" Value="${DefaultProgressStatusIdForQualityOk}" />
		<Assign Name="Set ProgressStatusIdForQualityOk voor BulkPO" Property="#{Settings.JobInspectionLine.ProgressStatusIdForQualityNotOk}" Value="${DefaultProgressStatusIdForQualityNotOk}" />

		<UserContent Name="Pre" />

		<WorkflowCall Name="WorkOrderSchedule_ProcessJobsWithProgressStatus" WorkflowName="WorkOrderSchedule_ProcessJobsWithProgressStatus">
			<Parameter	Name="AutoAnswerToQuestion_1352"			Direction="In"		Value="${AutoAnswerToQuestion_1352}" />
			<Parameter	Name="RemoveJobFromScheduleAfterProcessing"	Direction="In"		Value="${RemoveJobFromScheduleAfterProcessing}" />
			<Parameter	Name="WorkOrderSchedule"					Direction="In"		Value="${WorkOrderSchedule}" />
		</WorkflowCall>

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