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

ActionField127

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
JobProgressStatusForRecordStatusActive ProgressStatus Optional
JobProgressStatusForRecordStatusApproved ProgressStatus Optional
JobProgressStatusForRecordStatusClosed ProgressStatus Optional
JobProgressStatusForRecordStatusCompleted ProgressStatus Optional
JobProgressStatusForRecordStatusCreated ProgressStatus Optional
JobProgressStatusForRecordStatusFinished ProgressStatus Optional
JobProgressStatusForRecordStatusPostponed ProgressStatus Optional
JobProgressStatusForRecordStatusRequested ProgressStatus Optional
RemoveJobFromScheduleAfterProcessing Boolean Optional

XMLbewerken

<Workflow Name="ActionField127" 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="Needed for Bulk PO. When inspectionline QualityOk is true the Job will get this progressstatus" />
		<Property	Name="DefaultProgressStatusIdForQualityOk"			Type="UltimoString"			Accessor="Optional"	Direction="In"		Default="036"	Comment="Needed for Bulk PO. When inspectionline QualityOk is false the Job will get this progressstatus" />
		<Property	Name="JobProgressStatusForRecordStatusActive"		Type="ProgressStatus"		Accessor="Optional"	Direction="In"						Comment="When status WorkOrderScheduleJob is Active the Job will also get this progressstatus" />
		<Property	Name="JobProgressStatusForRecordStatusApproved"		Type="ProgressStatus"		Accessor="Optional"	Direction="In"						Comment="When status WorkOrderScheduleJob is Approved the Job will also get this progressstatus" />
		<Property	Name="JobProgressStatusForRecordStatusClosed"		Type="ProgressStatus"		Accessor="Optional"	Direction="In"						Comment="When status WorkOrderScheduleJob is Closed the Job will also get this progressstatus" />
		<Property	Name="JobProgressStatusForRecordStatusCompleted"	Type="ProgressStatus"		Accessor="Optional"	Direction="In"						Comment="When status WorkOrderScheduleJob is Completed the Job will also get this progressstatus" />
		<Property	Name="JobProgressStatusForRecordStatusCreated"		Type="ProgressStatus"		Accessor="Optional"	Direction="In"						Comment="When status WorkOrderScheduleJob is Created the Job will also get this progressstatus" />
		<Property	Name="JobProgressStatusForRecordStatusFinished"		Type="ProgressStatus"		Accessor="Optional"	Direction="In"						Comment="When status WorkOrderScheduleJob is Finished the Job will also get this progressstatus" />
		<Property	Name="JobProgressStatusForRecordStatusPostponed"	Type="ProgressStatus"		Accessor="Optional"	Direction="In"						Comment="When status WorkOrderScheduleJob is PostPoned the Job will also get this progressstatus" />
		<Property	Name="JobProgressStatusForRecordStatusRequested"	Type="ProgressStatus"		Accessor="Optional"	Direction="In"						Comment="When status WorkOrderScheduleJob is Requested the Job will also get this progressstatus" />
		<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_ProcessJobsWithStatus" WorkflowName="WorkOrderSchedule_ProcessJobsWithStatus">
			<Parameter	Name="AutoAnswerToQuestion_1352"					Direction="In"		Value="${AutoAnswerToQuestion_1352}" />
			<Parameter	Name="JobProgressStatusForRecordStatusActive"		Direction="In"		Value="${JobProgressStatusForRecordStatusActive}" />
			<Parameter	Name="JobProgressStatusForRecordStatusApproved"		Direction="In"		Value="${JobProgressStatusForRecordStatusApproved}" />
			<Parameter	Name="JobProgressStatusForRecordStatusClosed"		Direction="In"		Value="${JobProgressStatusForRecordStatusClosed}" />
			<Parameter	Name="JobProgressStatusForRecordStatusCompleted"	Direction="In"		Value="${JobProgressStatusForRecordStatusCompleted}" />
			<Parameter	Name="JobProgressStatusForRecordStatusCreated"		Direction="In"		Value="${JobProgressStatusForRecordStatusCreated}" />
			<Parameter	Name="JobProgressStatusForRecordStatusFinished"		Direction="In"		Value="${JobProgressStatusForRecordStatusFinished}" />
			<Parameter	Name="JobProgressStatusForRecordStatusPostponed"	Direction="In"		Value="${JobProgressStatusForRecordStatusPostponed}" />
			<Parameter	Name="JobProgressStatusForRecordStatusRequested"	Direction="In"		Value="${JobProgressStatusForRecordStatusRequested}" />
			<Parameter	Name="RemoveJobFromScheduleAfterProcessing"			Direction="In"		Value="${RemoveJobFromScheduleAfterProcessing}" />
			<Parameter	Name="WorkOrderSchedule"							Direction="In"		Value="${WorkOrderSchedule}" />
		</WorkflowCall>

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