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

ActionField1594

Beschrijving: Updates Job when Equipment is changed. Most important parts updated: ProcessFunction, Building info, Department/Costcenter/Customer, LOTO, SLA, Check List Acceptation (MT only), ServiceDeskReportType and Condition flaws. Custom: Nee

Propertiesbewerken

Property Type Accessor
Job Job Root
AllowedNonITJobContexts List[Context] Optional
CreateCheckListAcceptation Boolean Optional
ITJobContexts List[Context] Optional
SearchContext UltimoString Optional
SearchDomain UltimoString Optional
SearchProperties List[UltimoString] Optional
UpdateFromServiceDeskReportType Boolean Optional
UseSLA Boolean Optional

XMLbewerken

<Workflow Name="ActionField1594" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Updates Job when Equipment is changed. Most important parts updated: ProcessFunction, Building info, Department/Costcenter/Customer, LOTO, SLA, Check List Acceptation (MT only), ServiceDeskReportType and Condition flaws.</Description>
	<Properties>
		<Property	Name="Job"								Type="Job"					Accessor="Root"		Direction="In" />

		<Property	Name="AllowedNonITJobContexts"			Type="List[Context]"		Accessor="Optional"	Direction="In"		Default="JobContext.ServiceRequest, JobContext.ServiceDesk"																									Comment="Check if the job is a Non IT-Job with these contexts" />
		<Property	Name="CreateCheckListAcceptation"		Type="Boolean"				Accessor="Optional"	Direction="In"		Default="False"																																				Comment="Create check list acceptation with JobPlan from Equipment" />
		<Property	Name="ITJobContexts"					Type="List[Context]"		Accessor="Optional"	Direction="In"		Default="JobContext.ITIncident, JobContext.ITProblem, JobContext.ITKnownError, JobContext.ItilChange, JobContext.ItilChangeJob, JobContext.ServiceRequest"	Comment="Check if the job is an IT-Job with these contexts" />
		<Property	Name="SearchContext"					Type="UltimoString"			Accessor="Optional"	Direction="In"																																									Comment="Context to be used during the search of KnowledgeTopics" />
		<Property	Name="SearchDomain"						Type="UltimoString"			Accessor="Optional"	Direction="In"		Default="KnowledgeTopic"																																	Comment="SearchDomain to search" />
		<Property	Name="SearchProperties"					Type="List[UltimoString]"	Accessor="Optional"	Direction="In"																																									Comment="Property or properties (Description,ReportText,EquipmentType,Text) to search in table KnowledgeTopic. Required if setting KnowledgeTopicSearchShowDialog is not DoNotSearch" />
		<Property	Name="UpdateFromServiceDeskReportType"	Type="Boolean"				Accessor="Optional"	Direction="In"		Default="False"																																				Comment="Set to True to update Job with values of linked ServiceDeskReportType; default is set to False, do not update" />
		<Property	Name="UseSLA"							Type="Boolean"				Accessor="Optional"	Direction="In"		Default="True"																																				Comment="Set this to False in screens where a job is reported after it has been completed (SLA is not applicable in that case)." />

		<Property	Name="JobMaterials"						Type="List[JobMaterial]"	Accessor="Internal" />
	</Properties>
	<Settings>
		<SettingsGroup Name="Job">
			<Setting	Name="RollbackJobEquipmentMethod"	Type="RollbackJobEquipmentMethod"	Value="RollbackWithQuestion" />
		</SettingsGroup>
	</Settings>
	<Execution>
		<Comment><![CDATA[NOTE: when you make changes in this workflow it's most likely you also need to make them in Mobile_Job_ChangeEquipment.wfl and also in ActionField1599.wfl in the case the ProcessFunction.Equipment differs from Job.Equipment.]]></Comment>

		<UserContent Name="Pre" />

		<Comment><![CDATA[ Explicitly assigning values from the job guaranties these wf properties will keep their value in case they are changed on the job by the BL followed by displaying a user message.]]></Comment>

		<WorkflowCall Name="Job_ChangeEquipment" WorkflowName="Job_ChangeEquipment">
			<Parameter	Name="AllowedNonITJobContexts"			Direction="In"		Value="${AllowedNonITJobContexts}" />
			<Parameter	Name="CreateCheckListAcceptation"		Direction="In"		Value="${CreateCheckListAcceptation}" />
			<Parameter	Name="ITJobContexts"					Direction="In"		Value="${ITJobContexts}" />
			<Parameter	Name="Job"								Direction="In"		Value="${Job}" />
			<Parameter	Name="SearchContext"					Direction="In"		Value="${SearchContext}" />
			<Parameter	Name="SearchDomain"						Direction="In"		Value="${SearchDomain}" />
			<Parameter	Name="SearchProperties"					Direction="In"		Value="${SearchProperties}" />
			<Parameter	Name="UpdateFromServiceDeskReportType"	Direction="In"		Value="${UpdateFromServiceDeskReportType}" />
			<Parameter	Name="UseSLA"							Direction="In"		Value="${UseSLA}" />
		</WorkflowCall>

		<WorkflowCall Name="Job_UpdateSiteFromJobMat" WorkflowName="Job_UpdateSiteFromJobMat">
			<Parameter	Name="Job"	Direction="In"		Value="${Job}" />
		</WorkflowCall>

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