title: "JobInspectionLine (Screen in Infra)" category: reference tags: [mobile, go, go-plus, screen, infra] source: ultimo_gomanager.xml date: 2026-04-17 status: published

JobInspectionLine (Screen in Infra)

Category: Screen Application: Infra Has standard: Ja Entity (uit XML): JobInspectionLine

Raw XMLbewerken

<Screen EntityType="JobInspectionLine">
	<ContextList>
		<Context>JobInspectionLineContext.Standard</Context>
		<Context>JobInspectionLineContext.CourseRoute</Context>
		<Context>JobInspectionLineContext.Inspection</Context>
	</ContextList>
	<Section Id="Headers">
		<Header Title="#htmltoplain(${JobInspectionLine.Description})" Text="${JobInspectionLine.InspectionLineType.Description?}" Icon="#if(${JobInspectionLine.Status} == JobInspectionLineStatus.Finished &amp;&amp; (!${JobInspectionLine.QualityNotOk} || ${JobInspectionLine.QualityOk}))ultimoweb-checkmark#elseif(${JobInspectionLine.QualityNotOk})ultimoweb-close#elseif(${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped)ultimoweb-last#else ultimoweb-radio-unchecked#end" Comment="Inspections new style">
			<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection]]></Condition>
		</Header>
		<Header Title="#label(MEASUREMENT_POINT) ${JobInspectionLine.Point}" Text="#if(${JobInspectionLine.Done} &amp;&amp; ${JobInspectionLine.QualityOk})#label(AGREED)#elseif(${JobInspectionLine.Done} &amp;&amp; !${JobInspectionLine.QualityOk})#label(REJECT)#else#label(TO_DETERMINE)#end" Icon="#if(${JobInspectionLine.QualityOk})ultimoweb-checkmark#elseif(${JobInspectionLine.Done} &amp;&amp; !${JobInspectionLine.QualityOk})ultimoweb-close#else ultimoweb-radio-unchecked#end" Comment="Inspections old style">
			<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Standard]]></Condition>
		</Header>
		<Header Title="${JobInspectionLine.InspectionLine.Description?}" Text="${JobInspectionLine.InspectionLine.Equipment.Id?}${JobInspectionLine.InspectionLine.ProcessFunction.Id?}#if(${JobInspectionLine.InspectionLine.Equipment.Description?} != Empty || ${JobInspectionLine.InspectionLine.ProcessFunction.Description?} != Empty) - #end${JobInspectionLine.InspectionLine.Equipment.Description?}${JobInspectionLine.InspectionLine.ProcessFunction.Description?}" Icon="#if(${JobInspectionLine.Status} == JobInspectionLineStatus.Finished &amp;&amp; (!${JobInspectionLine.QualityNotOk} || ${JobInspectionLine.QualityOk}))ultimoweb-checkmark#elseif(${JobInspectionLine.QualityNotOk})ultimoweb-close#elseif(${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped)ultimoweb-last#else ultimoweb-radio-unchecked#end" Comment="Maintenance routes new style">
			<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
								&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute]]></Condition>
		</Header>
		<Header Title="${JobInspectionLine.InspectionLine.Description?}" Text="#if(${JobInspectionLine.Done})#label(AGREED)#else#label(TO_DETERMINE)#end" Icon="#if(${JobInspectionLine.Done})ultimoweb-checkmark#else ultimoweb-radio-unchecked#end" Comment="Maintenance routes old style">
			<Condition><![CDATA[#applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')
								&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute]]></Condition>
		</Header>
	</Section>
	<Section Id="InspectionLine_Actions_Inspect" Comment="Inspections new style: type Inspect">
		<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
							&& ${JobInspectionLine.InspectionLineType.InspectionType} == Inspect
							&& ${JobInspectionLine.Id.Job.Status} == JobStatus.Active
							&& (
								${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
								|| #{Settings.Job.ModifyAnyJob}
							)]]></Condition>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterInspectionResult"
			Title="#label(OK)"
			Icon="ultimoweb-checkmark"
			Comment="Inspections new style: type Inspect - Register inspection result OK">
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="InspectionResult" Value="Ok" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True">
					<Condition><![CDATA[${JobInspectionLine.Text1} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
				</Property>
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterInspectionResult"
			Title="#label(NOT_OK)"
			Icon="ultimoweb-close"
			Comment="Inspections new style: type Inspect - Register inspection result Not OK (when it is the default action)">
			<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk)
								&& #getsetting(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk) == NotOk]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="InspectionResult" Value="NotOk" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterInspectionResult"
			Title="#label(NOT_OK_REPORT_FAULT)"
			Icon="ultimoweb-close"
			Comment="Inspections new style: type Inspect - Register inspection result Not OK and report a fault (when it is the default action)">
			<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk)
								&& #getsetting(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk) == NotOkAndReportFault
								&& ${JobInspectionLine.NumberOfConditionFlawPresents} == 0
								&& #applicationelementenabled('61151e8e-ce15-4cd0-8f7c-730be044c1fa')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Infra" />
				<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
				<Property Name="InspectionResult" Value="NotOkReportFault" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Required="True" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
				<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterInspectionResult"
			Title="#label(NOT_OK_REPORT_FOLLOWUP_JOB)"
			Icon="ultimoweb-close"
			Comment="Inspections new style: type Inspect - Register inspection result Not OK and report a follow-up job">
			<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty
								&& #applicationelementenabled('d7c41e52-d7bb-48e6-add1-b7450908638b')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="InspectionResult" Value="NotOkReportJob" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True">
					<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)
										&& !#getsetting(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)]]></Condition>
				</Property>
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
					<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)
										&& #getsetting(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)]]></Condition>
				</Property>
				<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) &amp;&amp; #getsetting(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
					<Properties>
						<Property Name="Context" Value="WorkOrderTypeContext.Infra" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Object)" DataSet="ProcessFunctionGeneral">
					<Condition><![CDATA[#applicationelementenabled('0caa68bd-6fee-4b53-a0e2-8c7c0ddc943d')
										|| #applicationelementenabled('c1ac51b4-62f5-4ce9-976b-ea706b2ef8be')
										|| #applicationelementenabled('17680d96-721c-459c-be4a-3a3afdea426c')]]></Condition>
					<Properties>
						<Property Name="Context" Value="ProcessFunctionContext.Complex, ProcessFunctionContext.Object, ProcessFunctionContext.Route" />
						<Property Name="Status" Value="ProcessFunctionStatus.Active" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#label(PARTORELEMENT)" DataSet="Equipment">
					<Condition><![CDATA[#applicationelementenabled('afecf77f-e270-424e-99f7-08370d4a41ef')
										|| #applicationelementenabled('f36a28e6-9068-4078-bdab-197b44c13d0d')]]></Condition>
					<Properties>
						<Property Name="Context" Value="EquipmentContext.BuildingPart, EquipmentContext.Element" />
						<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
					</Properties>
				</DataSetProperty>
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterInspectionResult"
			Title="#label(NOT_OK_REPORT_FAULT)"
			Icon="ultimoweb-close"
			Comment="Inspections new style: type Inspect - Register inspection result Not OK and report a fault">
			<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk)
								&& #getsetting(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk) != NotOkAndReportFault
								&& ${JobInspectionLine.NumberOfConditionFlawPresents} == 0
								&& #applicationelementenabled('61151e8e-ce15-4cd0-8f7c-730be044c1fa')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Infra" />
				<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
				<Property Name="InspectionResult" Value="NotOkReportFault" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Required="True" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
				<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterInspectionResult"
			Title="#label(NOT_OK)"
			Icon="ultimoweb-close"
			Comment="Inspections new style: type Inspect - Register inspection result Not OK">
			<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk)
								&& #getsetting(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk) != NotOk]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<Property Name="InspectionResult" Value="NotOk" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Skip"
			Title="#label(SKIP)"
			Icon="ultimoweb-last"
			Comment="Inspections new style: type Inspect - Skip the inspection line">
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<DataSetProperty Name="SkipReason" Value="${JobInspectionLine.SkipReason}" Title="#label(REASON)" DataSet="ReasonsToSkipForInspections" Required="True" />
				<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text2}" Html="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Reset"
			Title="#label(RESET)"
			Icon="ultimoweb-radio-unchecked"
			Comment="Inspections new style: type Inspect - Reset inspection line">
			<Condition><![CDATA[${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
								|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_ReportFollowUpJob"
			Title="#label(REPORT_FOLLOWUP_JOB)"
			Icon="ultimoweb-copy-2"
			Comment="Inspections new style: type Inspect - Report a follow-up job">
			<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty
								&& (
									${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
									|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped
								)
								&& #applicationelementenabled('d7c41e52-d7bb-48e6-add1-b7450908638b')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True">
					<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)
										&& !#getsetting(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)]]></Condition>
				</Property>
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
					<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)
										&& #getsetting(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)]]></Condition>
				</Property>
				<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) &amp;&amp; #getsetting(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
					<Properties>
						<Property Name="Context" Value="WorkOrderTypeContext.Infra" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Object)" DataSet="ProcessFunctionGeneral">
					<Condition><![CDATA[#applicationelementenabled('0caa68bd-6fee-4b53-a0e2-8c7c0ddc943d')
										|| #applicationelementenabled('c1ac51b4-62f5-4ce9-976b-ea706b2ef8be')
										|| #applicationelementenabled('17680d96-721c-459c-be4a-3a3afdea426c')]]></Condition>
					<Properties>
						<Property Name="Context" Value="ProcessFunctionContext.Complex, ProcessFunctionContext.Object, ProcessFunctionContext.Route" />
						<Property Name="Status" Value="ProcessFunctionStatus.Active" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#label(PARTORELEMENT)" DataSet="Equipment">
					<Condition><![CDATA[#applicationelementenabled('afecf77f-e270-424e-99f7-08370d4a41ef')
										|| #applicationelementenabled('f36a28e6-9068-4078-bdab-197b44c13d0d')]]></Condition>
					<Properties>
						<Property Name="Context" Value="EquipmentContext.BuildingPart, EquipmentContext.Element" />
						<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
					</Properties>
				</DataSetProperty>
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_ReportConditionFlawPresent"
			Title="#label(REPORT_CONDITIONFLAW)"
			Icon="ultimoweb-warning"
			Comment="Inspections new style: type Inspect - Report a fault">
			<Condition><![CDATA[#applicationelementenabled('61151e8e-ce15-4cd0-8f7c-730be044c1fa')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Infra" />
				<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" SingleLine="True" />
				<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.Text1} : Empty" Required="True" />
				<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile1} : Empty" />
				<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile2} : Empty" />
				<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile3} : Empty" />
				<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile4} : Empty" />
				<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_CopyPreviousResult"
			Title="#label(COPY_PREVIOUS_RESULT)"
			Icon="ultimoweb-copy"
			Comment="Inspections new style: type Inspect - Copy the result of the previous inspection line">
			<Condition><![CDATA[${JobInspectionLine.PreviousJobInspectionLine} != Empty
								&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created
								&& (
									${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Finished
									|| ${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Skipped
								)]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_DeleteImage"
			Title="#label(DELETE_IMAGE)"
			Icon="ultimoweb-remove-3"
			Comment="Inspections new style: type Inspect - Delete an image from inspection line">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty
								|| ${JobInspectionLine.InspectionImageFile2} != Empty
								|| ${JobInspectionLine.InspectionImageFile3} != Empty
								|| ${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="DeleteImage1" Title="#label(ILLUSTRATION_1)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage2" Title="#label(ILLUSTRATION_2)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage3" Title="#label(ILLUSTRATION_3)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage4" Title="#label(ILLUSTRATION_4)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
				</Property>
			</Properties>
		</Workflow>
	</Section>
	<Section Id="InspectionLine_Actions_MeasureAndInspect" Comment="Inspections new style: type MeasureAndInspect">
		<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
							&& ${JobInspectionLine.InspectionLineType.InspectionType} == MeasureAndInspect
							&& ${JobInspectionLine.Id.Job.Status} == JobStatus.Active
							&& (
								${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
								|| #{Settings.Job.ModifyAnyJob}
							)]]></Condition>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
			Title="#label(ENTER_MEASUREMENT_VALUE_OK)"
			Icon="ultimoweb-checkmark"
			Comment="Inspections new style: type MeasureAndInspect - Register measurement value and inspection result OK">
			<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == MeasureAndInspect]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="InspectionResult" Value="Ok" />
				<Property Name="MeasurementValue" Title="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?} #if(${JobInspectionLine.MeasureCode.Unit} != Empty)(${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="String" Value="${JobInspectionLine.Value}" SingleLine="True" ScanMeter="True" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True">
					<Condition><![CDATA[${JobInspectionLine.Text1} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
				</Property>
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
			Title="#label(ENTER_MEASUREMENT_VALUE_NOT_OK)"
			Icon="ultimoweb-close"
			Comment="Inspections new style: type MeasureAndInspect - Register measurement value and inspection result Not OK (when it is the default action)">
			<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == MeasureAndInspect
								&& #settingenabled(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk)
								&& #getsetting(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk) == NotOk]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="InspectionResult" Value="NotOk" />
				<Property Name="MeasurementValue" Title="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?} #if(${JobInspectionLine.MeasureCode.Unit} != Empty)(${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="String" Value="${JobInspectionLine.Value}" SingleLine="True" ScanMeter="True" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(INSPECTION_POINT_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterInspectionResult"
			Title="#label(ENTER_MEASUREMENT_VALUE_NOT_OK_REPORT_FAULT)"
			Icon="ultimoweb-close"
			Comment="Inspections new style: type MeasureAndInspect - Register inspection result Not OK and report a fault (when it is the default action)">
			<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk)
								&& #getsetting(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk) == NotOkAndReportFault
								&& ${JobInspectionLine.NumberOfConditionFlawPresents} == 0
								&& #applicationelementenabled('61151e8e-ce15-4cd0-8f7c-730be044c1fa')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Infra" />
				<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
				<Property Name="InspectionResult" Value="NotOkReportFault" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Required="True" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
				<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
			Title="#label(ENTER_MEASUREMENT_VALUE_NOT_OK_REPORT_FOLLOWUP_JOB)"
			Icon="ultimoweb-close"
			Comment="Inspections new style: type MeasureAndInspect - Register measurement value, inspection result Not OK and report a follow-up job">
			<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == MeasureAndInspect
								&& ${JobInspectionLine.FollowUpJob} == Empty
								&& #applicationelementenabled('d7c41e52-d7bb-48e6-add1-b7450908638b')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="InspectionResult" Value="NotOkReportJob" />
				<Property Name="MeasurementValue" Title="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?} #if(${JobInspectionLine.MeasureCode.Unit} != Empty)(${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="String" Value="${JobInspectionLine.Value}" SingleLine="True" ScanMeter="True" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(INSPECTION_POINT_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True">
					<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)
										&& !#getsetting(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)]]></Condition>
				</Property>
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
					<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)
										&& #getsetting(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)]]></Condition>
				</Property>
				<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) &amp;&amp; #getsetting(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
					<Properties>
						<Property Name="Context" Value="WorkOrderTypeContext.Infra" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Object)" DataSet="ProcessFunctionGeneral">
					<Condition><![CDATA[#applicationelementenabled('0caa68bd-6fee-4b53-a0e2-8c7c0ddc943d')
										|| #applicationelementenabled('c1ac51b4-62f5-4ce9-976b-ea706b2ef8be')
										|| #applicationelementenabled('17680d96-721c-459c-be4a-3a3afdea426c')]]></Condition>
					<Properties>
						<Property Name="Context" Value="ProcessFunctionContext.Complex, ProcessFunctionContext.Object, ProcessFunctionContext.Route" />
						<Property Name="Status" Value="ProcessFunctionStatus.Active" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#label(PARTORELEMENT)" DataSet="Equipment">
					<Condition><![CDATA[#applicationelementenabled('afecf77f-e270-424e-99f7-08370d4a41ef')
										|| #applicationelementenabled('f36a28e6-9068-4078-bdab-197b44c13d0d')]]></Condition>
					<Properties>
						<Property Name="Context" Value="EquipmentContext.BuildingPart, EquipmentContext.Element" />
						<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
					</Properties>
				</DataSetProperty>
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterInspectionResult"
			Title="#label(ENTER_MEASUREMENT_VALUE_NOT_OK_REPORT_FAULT)"
			Icon="ultimoweb-close"
			Comment="Inspections new style: type MeasureAndInspect - Register inspection result Not OK and report a fault">
			<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk)
								&& #getsetting(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk) != NotOkAndReportFault
								&& ${JobInspectionLine.NumberOfConditionFlawPresents} == 0
								&& #applicationelementenabled('61151e8e-ce15-4cd0-8f7c-730be044c1fa')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Infra" />
				<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
				<Property Name="InspectionResult" Value="NotOkReportFault" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Required="True" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
				<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
			Title="#label(ENTER_MEASUREMENT_VALUE_NOT_OK)"
			Icon="ultimoweb-close"
			Comment="Inspections new style: type MeasureAndInspect - Register measurement value and inspection result Not OK">
			<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == MeasureAndInspect
								&& #settingenabled(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk)
								&& #getsetting(Job,JobContext.Infra,Job.DefaultActionInspectionNotOk) != NotOk]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="InspectionResult" Value="NotOk" />
				<Property Name="MeasurementValue" Title="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?} #if(${JobInspectionLine.MeasureCode.Unit} != Empty)(${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="String" Value="${JobInspectionLine.Value}" SingleLine="True" ScanMeter="True" />
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(INSPECTION_POINT_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Skip"
			Title="#label(SKIP)"
			Icon="ultimoweb-last"
			Comment="Inspections new style: type MeasureAndInspect - Skip the inspection line">
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<DataSetProperty Name="SkipReason" Value="${JobInspectionLine.SkipReason}" Title="#label(REASON)" DataSet="ReasonsToSkipForInspections" Required="True" />
				<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text2}" Html="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Reset"
			Title="#label(RESET)"
			Icon="ultimoweb-radio-unchecked"
			Comment="Inspections new style: type MeasureAndInspect - Reset inspection line">
			<Condition><![CDATA[${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
								|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_ReportFollowUpJob"
			Title="#label(REPORT_FOLLOWUP_JOB)"
			Icon="ultimoweb-copy-2"
			Comment="Inspections new style: type MeasureAndInspect - Report a follow-up job">
			<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty
								&& (
									${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
									|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped
								)
								&& #applicationelementenabled('d7c41e52-d7bb-48e6-add1-b7450908638b')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True">
					<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)
										&& !#getsetting(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)]]></Condition>
				</Property>
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
					<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)
										&& #getsetting(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)]]></Condition>
				</Property>
				<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) &amp;&amp; #getsetting(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
					<Properties>
						<Property Name="Context" Value="WorkOrderTypeContext.Infra" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Object)" DataSet="ProcessFunctionGeneral">
					<Condition><![CDATA[#applicationelementenabled('0caa68bd-6fee-4b53-a0e2-8c7c0ddc943d')
										|| #applicationelementenabled('c1ac51b4-62f5-4ce9-976b-ea706b2ef8be')
										|| #applicationelementenabled('17680d96-721c-459c-be4a-3a3afdea426c')]]></Condition>
					<Properties>
						<Property Name="Context" Value="ProcessFunctionContext.Complex, ProcessFunctionContext.Object, ProcessFunctionContext.Route" />
						<Property Name="Status" Value="ProcessFunctionStatus.Active" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#label(PARTORELEMENT)" DataSet="Equipment">
					<Condition><![CDATA[#applicationelementenabled('afecf77f-e270-424e-99f7-08370d4a41ef')
										|| #applicationelementenabled('f36a28e6-9068-4078-bdab-197b44c13d0d')]]></Condition>
					<Properties>
						<Property Name="Context" Value="EquipmentContext.BuildingPart, EquipmentContext.Element" />
						<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
					</Properties>
				</DataSetProperty>
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_ReportConditionFlawPresent"
			Title="#label(REPORT_CONDITIONFLAW)"
			Icon="ultimoweb-warning"
			Comment="Inspections new style: type MeasureAndInspect - Report a fault">
			<Condition><![CDATA[#applicationelementenabled('61151e8e-ce15-4cd0-8f7c-730be044c1fa')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Infra" />
				<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" SingleLine="True" />
				<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.Text1} : Empty" Required="True" />
				<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile1} : Empty" />
				<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile2} : Empty" />
				<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile3} : Empty" />
				<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.InspectionImageFile4} : Empty" />
				<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_CopyPreviousResult"
			Title="#label(COPY_PREVIOUS_RESULT)"
			Icon="ultimoweb-copy"
			Comment="Inspections new style: type MeasureAndInspect - Copy the result of the previous inspection line">
			<Condition><![CDATA[${JobInspectionLine.PreviousJobInspectionLine} != Empty
								&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created
								&& (
									${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Finished
									|| ${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Skipped
								)]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_DeleteImage"
			Title="#label(DELETE_IMAGE)"
			Icon="ultimoweb-remove-3"
			Comment="Inspections new style: type MeasureAndInspect - Delete an image from inspection line">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty
								|| ${JobInspectionLine.InspectionImageFile2} != Empty
								|| ${JobInspectionLine.InspectionImageFile3} != Empty
								|| ${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="DeleteImage1" Title="#label(ILLUSTRATION_1)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage2" Title="#label(ILLUSTRATION_2)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage3" Title="#label(ILLUSTRATION_3)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage4" Title="#label(ILLUSTRATION_4)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
				</Property>
			</Properties>
		</Workflow>
	</Section>
	<Section Id="InspectionLine_Actions_MeasureOrTask" Comment="Inspections new style: type Measure or type Task">
		<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
							&& (
								${JobInspectionLine.InspectionLineType.InspectionType} == Measure
								|| ${JobInspectionLine.InspectionLineType.InspectionType} == Task
							)
							&& ${JobInspectionLine.Id.Job.Status} == JobStatus.Active
							&& (
								${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
								|| #{Settings.Job.ModifyAnyJob}
							)]]></Condition>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
			Title="#label(ENTER_MEASUREMENT_VALUE)"
			Icon="ultimoweb-pencil-2"
			Comment="Inspections new style: type Measure - Register measurement value">
			<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == Measure]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="MeasurementValue" Title="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?} #if(${JobInspectionLine.MeasureCode.Unit} != Empty)(${JobInspectionLine.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="String" Value="${JobInspectionLine.Value}" Required="True" SingleLine="True" ScanMeter="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Finish"
			Title="#label(FINISH)"
			Icon="ultimoweb-checkmark"
			Comment="Inspections new style: type Task - Change task status to finished">
			<Condition><![CDATA[${JobInspectionLine.InspectionLineType.InspectionType} == Task
								&& ${JobInspectionLine.Status} != JobInspectionLineStatus.Finished]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Skip"
			Title="#label(SKIP)"
			Icon="ultimoweb-last"
			Comment="Inspections new style: type Measure or type Task - Skip the inspection line">
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<DataSetProperty Name="SkipReason" Value="${JobInspectionLine.SkipReason}" Title="#label(REASON)" DataSet="ReasonsToSkipForInspections" Required="True" />
				<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text2}" Html="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Reset"
			Title="#label(RESET)"
			Icon="ultimoweb-radio-unchecked"
			Comment="Inspections new style: type Measure or type Task - Reset inspection line">
			<Condition><![CDATA[${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
								|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_ReportFollowUpJob"
			Title="#label(REPORT_FOLLOWUP_JOB)"
			Icon="ultimoweb-copy-2"
			Comment="Inspections new style: type Measure or type Task - Report a follow-up job">
			<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty
								&& (
									${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
									|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped
								)
								&& #applicationelementenabled('d7c41e52-d7bb-48e6-add1-b7450908638b')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True">
					<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)
										&& !#getsetting(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)]]></Condition>
				</Property>
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Value="#label(DESCRIPTION_FOLLOWUPJOB_INSPECTIONLINE)">
					<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)
										&& #getsetting(Job,JobContext.Infra,Job.PrefillFollowUpJobDescription)]]></Condition>
				</Property>
				<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) &amp;&amp; #getsetting(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Infra,Job.InspectionDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
					<Properties>
						<Property Name="Context" Value="WorkOrderTypeContext.Infra" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Object)" DataSet="ProcessFunctionGeneral">
					<Condition><![CDATA[#applicationelementenabled('0caa68bd-6fee-4b53-a0e2-8c7c0ddc943d')
										|| #applicationelementenabled('c1ac51b4-62f5-4ce9-976b-ea706b2ef8be')
										|| #applicationelementenabled('17680d96-721c-459c-be4a-3a3afdea426c')]]></Condition>
					<Properties>
						<Property Name="Context" Value="ProcessFunctionContext.Complex, ProcessFunctionContext.Object, ProcessFunctionContext.Route" />
						<Property Name="Status" Value="ProcessFunctionStatus.Active" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" Title="#label(PARTORELEMENT)" DataSet="Equipment">
					<Condition><![CDATA[#applicationelementenabled('afecf77f-e270-424e-99f7-08370d4a41ef')
										|| #applicationelementenabled('f36a28e6-9068-4078-bdab-197b44c13d0d')]]></Condition>
					<Properties>
						<Property Name="Context" Value="EquipmentContext.BuildingPart, EquipmentContext.Element" />
						<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
					</Properties>
				</DataSetProperty>
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_ReportConditionFlawPresent"
			Title="#label(REPORT_CONDITIONFLAW)"
			Icon="ultimoweb-warning"
			Comment="Inspections new style: type Measure or type Task - Report a fault">
			<Condition><![CDATA[#applicationelementenabled('61151e8e-ce15-4cd0-8f7c-730be044c1fa')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Infra" />
				<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" SingleLine="True" />
				<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Value="=${JobInspectionLine.NumberOfConditionFlawPresents} == 0 ? ${JobInspectionLine.Text1} : Empty" Required="True" />
				<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" />
				<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" />
				<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" />
				<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" />
				<Property Name="SolveWithJob" Title="#label(FAULT_FIXWITHTHISJOB)" Type="Boolean" Value="False" Required="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_CopyPreviousResult"
			Title="#label(COPY_PREVIOUS_RESULT)"
			Icon="ultimoweb-copy"
			Comment="Inspections new style: type Measure or type Task - Copy the result of the previous inspection line">
			<Condition><![CDATA[${JobInspectionLine.PreviousJobInspectionLine} != Empty
								&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created
								&& (
									${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Finished
									|| ${JobInspectionLine.PreviousJobInspectionLine.Status} == JobInspectionLineStatus.Skipped
								)]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_DeleteImage"
			Title="#label(DELETE_IMAGE)"
			Icon="ultimoweb-remove-3"
			Comment="Inspections new style: type Measure or type Task - Delete an image from inspection line">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty
								|| ${JobInspectionLine.InspectionImageFile2} != Empty
								|| ${JobInspectionLine.InspectionImageFile3} != Empty
								|| ${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="DeleteImage1" Title="#label(ILLUSTRATION_1)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage2" Title="#label(ILLUSTRATION_2)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage3" Title="#label(ILLUSTRATION_3)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage4" Title="#label(ILLUSTRATION_4)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
				</Property>
			</Properties>
		</Workflow>
	</Section>
	<Section Id="InspectionLine_Instruction">
		<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
							&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created]]></Condition>
		<Text Title="#label(WORK_INSTRUCTION)" Text="#htmltoplain(${JobInspectionLine.Text})" Icon="ultimoweb-clipboard-4">
			<Condition><![CDATA[${JobInspectionLine.Text} != Empty]]></Condition>
		</Text>
		<Document Text="#label(ILLUSTRATION_1)" Image="${JobInspectionLine.InstructionImageFile1}" FileName="${JobInspectionLine.InstructionImageFile1}">
			<Condition><![CDATA[${JobInspectionLine.InstructionImageFile1} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_2)" Image="${JobInspectionLine.InstructionImageFile2}" FileName="${JobInspectionLine.InstructionImageFile2}">
			<Condition><![CDATA[${JobInspectionLine.InstructionImageFile2} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_3)" Image="${JobInspectionLine.InstructionImageFile3}" FileName="${JobInspectionLine.InstructionImageFile3}">
			<Condition><![CDATA[${JobInspectionLine.InstructionImageFile3} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_4)" Image="${JobInspectionLine.InstructionImageFile4}" FileName="${JobInspectionLine.InstructionImageFile4}">
			<Condition><![CDATA[${JobInspectionLine.InstructionImageFile4} != Empty]]></Condition>
		</Document>
	</Section>
	<Section Id="InspectionLine_ReportedFaults">
		<List DataSet="JobInspectionLineReportedFaults" Text="#label(REPORTED_FAULTS)" ShowCount="True" Icon="ultimoweb-link-2">
			<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
								&& #applicationelementenabled('61151e8e-ce15-4cd0-8f7c-730be044c1fa')]]></Condition>
			<Properties>
				<Property Name="JobInspectionLineLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="JobInspectionLineJobId" Value="${JobInspectionLine.Id.Job}" />
			</Properties>
		</List>
	</Section>
	<Section Id="InspectionLine_Result">
		<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
							&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Finished]]></Condition>
		<Text Title="#label(MEASUREMENT_VALUE)" Text="#if(${JobInspectionLine.MeasureCode} != Empty)${JobInspectionLine.MeasureCode.Description?}#if(${JobInspectionLine.MeasureCode.Unit} != Empty) (${JobInspectionLine.MeasureCode.Unit})#end: #end${JobInspectionLine.Value}" Icon="ultimoweb-meter">
			<Condition><![CDATA[${JobInspectionLine.Value} != Empty]]></Condition>
		</Text>
		<Text Title="#label(FINDINGS)" Text="#htmltoplain(${JobInspectionLine.Text1})" Icon="ultimoweb-clipboard-4">
			<Condition><![CDATA[${JobInspectionLine.Text1} != Empty]]></Condition>
		</Text>
		<Document Text="#label(ILLUSTRATION_1)" Image="${JobInspectionLine.InspectionImageFile1}" FileName="${JobInspectionLine.InspectionImageFile1}">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_2)" Image="${JobInspectionLine.InspectionImageFile2}" FileName="${JobInspectionLine.InspectionImageFile2}">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_3)" Image="${JobInspectionLine.InspectionImageFile3}" FileName="${JobInspectionLine.InspectionImageFile3}">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_4)" Image="${JobInspectionLine.InspectionImageFile4}" FileName="${JobInspectionLine.InspectionImageFile4}">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
		</Document>
		<Entity Value="${JobInspectionLine.FollowUpJob}" Title="#label(FOLLOWUP_JOB)">
			<Condition><![CDATA[${JobInspectionLine.FollowUpJob} != Empty
								&& #applicationelementenabled('d7c41e52-d7bb-48e6-add1-b7450908638b')]]></Condition>
		</Entity>
		<Text Title="#label(FINISHED_DATE)" Text="#formatdate(${JobInspectionLine.StatusFinishedDate} 'f' true)" Icon="ultimoweb-calendar">
			<Condition><![CDATA[${JobInspectionLine.StatusFinishedDate} != Empty]]></Condition>
		</Text>
		<Entity Value="${JobInspectionLine.StatusFinishedEmployee}" />
	</Section>
	<Section Id="InspectionLine_Skipped">
		<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
							&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
		<Text Title="#label(REASON_SKIPPED)" Text="#htmltoplain(${JobInspectionLine.SkipReason.Description?})" Icon="ultimoweb-clipboard-4" />
		<Text Title="#label(EXPLANATION_SKIPPED)" Text="#htmltoplain(${JobInspectionLine.Text2})" />
		<Text Title="#label(SKIPPED_DATE)" Text="#formatdate(${JobInspectionLine.StatusSkippedDate} 'f' true)" Icon="ultimoweb-calendar" />
		<Entity Value="${JobInspectionLine.StatusSkippedEmployee}" />
	</Section>
	<Section Id="InspectionLine_Measurement_Information">
		<Text Title="#label(NOMINAL_VALUE)" Text="${JobInspectionLine.NominalValue}" Icon="ultimoweb-meter-medium">
			<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection
								&& ${JobInspectionLine.NominalValue} != Empty]]></Condition>
		</Text>
	</Section>
	<Section Id="InspectionLine_Previous_Inspection">
		<Entity Value="${JobInspectionLine.PreviousJobInspectionLine}" Title="#label(PREVIOUS_INSPECTION_TITLE)" Text="#label(PREVIOUS_INSPECTION_RESULT)" SubText="#label(PREVIOUS_INSPECTION_EXPLANATION)">
			<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection]]></Condition>
		</Entity>
	</Section>
	<Section Id="InspectionLine_General">
		<Entity Value="${JobInspectionLine.Id.Job}">
			<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Inspection]]></Condition>
		</Entity>
	</Section>
	<Section Id="MaintenanceRouteLine_Actions" Comment="Maintenance routes new style: Actions">
		<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
							&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute
							&& ${JobInspectionLine.Id.Job.Status} == JobStatus.Active
							&& (
								${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
								|| #{Settings.Job.ModifyAnyJob}
							)]]></Condition>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
			Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint} != Empty)#label(ENTER_MEASUREMENT_VALUE_OK)#else#label(OK)#end"
			Icon="ultimoweb-checkmark"
			Comment="Maintenance routes new style: Register inspection result OK">
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="InspectionResult" Value="Ok" />
				<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
					<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
										&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')]]></Condition>
				</Property>
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True">
					<Condition><![CDATA[${JobInspectionLine.Text1} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
				</Property>
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
				</Property>
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
			Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint} != Empty)#label(ENTER_MEASUREMENT_VALUE_NOT_OK)#else#label(NOT_OK)#end"
			Icon="ultimoweb-close"
			Comment="Maintenance routes new style: Register inspection result Not OK (when it is the default action)">
			<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.DefaultActionMaintenanceRouteLineNotOk)
								&& #getsetting(Job,JobContext.Infra,Job.DefaultActionMaintenanceRouteLineNotOk) == NotOk]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="InspectionResult" Value="NotOk" />
				<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
					<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
										&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')]]></Condition>
				</Property>
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
			Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint} != Empty)#label(ENTER_MEASUREMENT_VALUE_NOT_OK_REPORT_FOLLOWUP_JOB)#else#label(NOT_OK_REPORT_FOLLOWUP_JOB)#end"
			Icon="ultimoweb-close"
			Comment="Maintenance routes new style: inspection result Not OK and report a follow-up job">
			<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="InspectionResult" Value="NotOkReportJob" />
				<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
					<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
										&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')]]></Condition>
				</Property>
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(INSPECTION_POINT_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
				<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.Infra,Job.MaintenanceRouteDefaultWorkOrderType) &amp;&amp; #getsetting(Job,JobContext.Infra,Job.MaintenanceRouteDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Infra,Job.MaintenanceRouteDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
					<Properties>
						<Property Name="Context" Value="WorkOrderTypeContext.Infra" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="ProcessFunction" Value="=${JobInspectionLine.InspectionLine.ProcessFunction?} == Empty &amp;&amp; ${JobInspectionLine.InspectionLine.Equipment?} == Empty ? ${JobInspectionLine.Id.Job.ProcessFunction.Id?} : ${JobInspectionLine.InspectionLine.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Object)" DataSet="ProcessFunctionGeneral">
					<Condition><![CDATA[#applicationelementenabled('0caa68bd-6fee-4b53-a0e2-8c7c0ddc943d')
										|| #applicationelementenabled('c1ac51b4-62f5-4ce9-976b-ea706b2ef8be')
										|| #applicationelementenabled('17680d96-721c-459c-be4a-3a3afdea426c')]]></Condition>
					<Properties>
						<Property Name="Context" Value="ProcessFunctionContext.Complex, ProcessFunctionContext.Object, ProcessFunctionContext.Route" />
						<Property Name="Status" Value="ProcessFunctionStatus.Active" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="Equipment" Value="=${JobInspectionLine.InspectionLine.ProcessFunction?} == Empty &amp;&amp; ${JobInspectionLine.InspectionLine.Equipment?} == Empty ? ${JobInspectionLine.Id.Job.Equipment.Id?} : ${JobInspectionLine.InspectionLine.Equipment.Id?}" Title="#label(PARTORELEMENT)" DataSet="Equipment">
					<Condition><![CDATA[#applicationelementenabled('afecf77f-e270-424e-99f7-08370d4a41ef')
										|| #applicationelementenabled('f36a28e6-9068-4078-bdab-197b44c13d0d')]]></Condition>
					<Properties>
						<Property Name="Context" Value="EquipmentContext.BuildingPart, EquipmentContext.Element" />
						<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
					</Properties>
				</DataSetProperty>
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_RegisterMeasurementValue"
			Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint} != Empty)#label(ENTER_MEASUREMENT_VALUE_NOT_OK)#else#label(NOT_OK)#end"
			Icon="ultimoweb-close"
			Comment="Maintenance routes new style: Register inspection result Not OK">
			<Condition><![CDATA[#settingenabled(Job,JobContext.Infra,Job.DefaultActionMaintenanceRouteLineNotOk)
								&& #getsetting(Job,JobContext.Infra,Job.DefaultActionMaintenanceRouteLineNotOk) != NotOk]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="InspectionResult" Value="NotOk" />
				<Property Name="MeasurementPointValue" Title="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit})#end#else#label(MEASUREMENT_VALUE)#end" Type="Decimal" Value="=${JobInspectionLine.Status} == JobInspectionLineStatus.Finished ? ${JobInspectionLine.Value2} : Empty" Required="True" ScanMeter="True" DecimalDigits="#getdecimaldigits('JobiValue2')">
					<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
										&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')]]></Condition>
				</Property>
				<Property Name="Findings" Title="#label(FINDINGS)" Text="#label(ENTER_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Skip"
			Title="#label(SKIP)"
			Icon="ultimoweb-last"
			Comment="Maintenance routes new style: Skip the maintenance route line">
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<DataSetProperty Name="SkipReason" Value="${JobInspectionLine.SkipReason}" Title="#label(REASON)" DataSet="ReasonsToSkipForMaintenanceRoute" Required="True" />
				<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text2}" Html="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Reset"
			Title="#label(RESET)"
			Icon="ultimoweb-radio-unchecked"
			Comment="Maintenance routes new style: Reset inspection line">
			<Condition><![CDATA[${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
								|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_ReportFollowUpJob"
			Title="#label(REPORT_FOLLOWUP_JOB)"
			Icon="ultimoweb-copy-2"
			Comment="Maintenance routes new style: Report a follow-up job">
			<Condition><![CDATA[${JobInspectionLine.FollowUpJob} == Empty
								&& (
									${JobInspectionLine.Status} == JobInspectionLineStatus.Finished
									|| ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped
								)]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" />
				<Property Name="Explanation" Title="#label(EXPLANATION)" Text="#label(EXPLANATION)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="InspectionImage1" Title="#label(ILLUSTRATION_1)" Type="Image" Value="${JobInspectionLine.InspectionImageFile1}" />
				<Property Name="InspectionImage2" Title="#label(ILLUSTRATION_2)" Type="Image" Value="${JobInspectionLine.InspectionImageFile2}" />
				<Property Name="InspectionImage3" Title="#label(ILLUSTRATION_3)" Type="Image" Value="${JobInspectionLine.InspectionImageFile3}" />
				<Property Name="InspectionImage4" Title="#label(ILLUSTRATION_4)" Type="Image" Value="${JobInspectionLine.InspectionImageFile4}" />
				<DataSetProperty Name="WorkOrderType" Value="=#settingenabled(Job,JobContext.Infra,Job.MaintenanceRouteDefaultWorkOrderType) &amp;&amp; #getsetting(Job,JobContext.Infra,Job.MaintenanceRouteDefaultWorkOrderType) != Empty ? #getsetting(Job,JobContext.Infra,Job.MaintenanceRouteDefaultWorkOrderType) : Empty" Title="#label(JOB_TYPE)" DataSet="WorkOrderTypeGeneral">
					<Properties>
						<Property Name="Context" Value="WorkOrderTypeContext.Infra" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="ProcessFunction" Value="=${JobInspectionLine.InspectionLine.ProcessFunction?} == Empty &amp;&amp; ${JobInspectionLine.InspectionLine.Equipment?} == Empty ? ${JobInspectionLine.Id.Job.ProcessFunction.Id?} : ${JobInspectionLine.InspectionLine.ProcessFunction.Id?}" Title="#contextdescription_capital(ProcessFunction ProcessFunctionContext.Object)" DataSet="ProcessFunctionGeneral">
					<Condition><![CDATA[#applicationelementenabled('0caa68bd-6fee-4b53-a0e2-8c7c0ddc943d')
										|| #applicationelementenabled('c1ac51b4-62f5-4ce9-976b-ea706b2ef8be')
										|| #applicationelementenabled('17680d96-721c-459c-be4a-3a3afdea426c')]]></Condition>
					<Properties>
						<Property Name="Context" Value="ProcessFunctionContext.Complex, ProcessFunctionContext.Object, ProcessFunctionContext.Route" />
						<Property Name="Status" Value="ProcessFunctionStatus.Active" />
					</Properties>
				</DataSetProperty>
				<DataSetProperty Name="Equipment" Value="=${JobInspectionLine.InspectionLine.ProcessFunction?} == Empty &amp;&amp; ${JobInspectionLine.InspectionLine.Equipment?} == Empty ? ${JobInspectionLine.Id.Job.Equipment.Id?} : ${JobInspectionLine.InspectionLine.Equipment.Id?}" Title="#label(PARTORELEMENT)" DataSet="Equipment">
					<Condition><![CDATA[#applicationelementenabled('afecf77f-e270-424e-99f7-08370d4a41ef')
										|| #applicationelementenabled('f36a28e6-9068-4078-bdab-197b44c13d0d')]]></Condition>
					<Properties>
						<Property Name="Context" Value="EquipmentContext.BuildingPart, EquipmentContext.Element" />
						<Property Name="Status" Value="EquipmentStatus.Created, EquipmentStatus.Active, EquipmentStatus.ToDelete" />
					</Properties>
				</DataSetProperty>
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_DeleteImage"
			Title="#label(DELETE_IMAGE)"
			Icon="ultimoweb-remove-3"
			Comment="Maintenance routes new style: Delete an image from maintenance route line">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty
								|| ${JobInspectionLine.InspectionImageFile2} != Empty
								|| ${JobInspectionLine.InspectionImageFile3} != Empty
								|| ${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="DeleteImage1" Title="#label(ILLUSTRATION_1)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage2" Title="#label(ILLUSTRATION_2)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage3" Title="#label(ILLUSTRATION_3)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
				</Property>
				<Property Name="DeleteImage4" Title="#label(ILLUSTRATION_4)" Type="Boolean" Value="False" Required="True">
					<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
				</Property>
			</Properties>
		</Workflow>
	</Section>
	<Section Id="MaintenanceRouteLine_Instruction" Comment="Maintenance routes new style: Instruction information">
		<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
							&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute
							&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created]]></Condition>
		<Text Title="#label(WORK_INSTRUCTION)" Text="#htmltoplain(${JobInspectionLine.InspectionLine.Instruction?})" Icon="ultimoweb-clipboard-4">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.Instruction?} != Empty]]></Condition>
		</Text>
		<Document Text="#label(ILLUSTRATION_1)" Image="${JobInspectionLine.InspectionLine.ImageFile?}" FileName="${JobInspectionLine.InspectionLine.ImageFile}">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.ImageFile?} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_2)" Image="${JobInspectionLine.InspectionLine.InstructionImageFile2}" FileName="${JobInspectionLine.InspectionLine.InstructionImageFile2}">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.InstructionImageFile2} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_3)" Image="${JobInspectionLine.InspectionLine.InstructionImageFile3}" FileName="${JobInspectionLine.InspectionLine.InstructionImageFile3}">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.InstructionImageFile3} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_4)" Image="${JobInspectionLine.InspectionLine.InstructionImageFile4}" FileName="${JobInspectionLine.InspectionLine.InstructionImageFile4}">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.InstructionImageFile4} != Empty]]></Condition>
		</Document>
	</Section>
	<Section Id="MaintenanceRouteLine_MeasurementPointInformation" Comment="Maintenance routes new style: Measurement point information">
		<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
							&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')
							&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute
							&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Created]]></Condition>
		<Entity Value="${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint}" />
		<Text Title="#label(LAST_MEASURED_VALUE)" Text="${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.LastValue?} - ${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.LastDate?}" Icon="ultimoweb-calendar">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.LastDate?} != Empty]]></Condition>
		</Text>
		<Text Title="#label(MEASUREMENT_VALUE_RANGE)" Text="#label(MEASUREMENT_VALUE_RANGE_EXPECTED_VALUES)" Comment="Maintenance routes new style: Measurement value ranges">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.AllowDescendingValues?} == True]]></Condition>
		</Text>
	</Section>
	<Section Id="MaintenanceRouteLine_Results" Comment="Maintenance routes new style: Results">
		<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
							&& ${JobInspectionLine.Context} == JobInspectionLineContext.CourseRoute
							&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Finished]]></Condition>
		<Text Title="#label(MEASUREMENT_VALUE)" Text="#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode} != Empty)${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit} != Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Unit})#end: #end#todecimal(${JobInspectionLine.Value2})">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint} != Empty
								&& #applicationelementenabled('f946c96e-65e5-4fa1-904f-a306021af752')]]></Condition>
		</Text>
		<Text Title="#label(FINDINGS)" Text="#htmltoplain(${JobInspectionLine.Text1})" Icon="ultimoweb-clipboard-4">
			<Condition><![CDATA[${JobInspectionLine.Text1} != Empty]]></Condition>
		</Text>
		<Document Text="#label(ILLUSTRATION_1)" Image="${JobInspectionLine.InspectionImageFile1}" FileName="${JobInspectionLine.InspectionImageFile1}">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile1} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_2)" Image="${JobInspectionLine.InspectionImageFile2}" FileName="${JobInspectionLine.InspectionImageFile2}">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile2} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_3)" Image="${JobInspectionLine.InspectionImageFile3}" FileName="${JobInspectionLine.InspectionImageFile3}">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile3} != Empty]]></Condition>
		</Document>
		<Document Text="#label(ILLUSTRATION_4)" Image="${JobInspectionLine.InspectionImageFile4}" FileName="${JobInspectionLine.InspectionImageFile4}">
			<Condition><![CDATA[${JobInspectionLine.InspectionImageFile4} != Empty]]></Condition>
		</Document>
		<Entity Value="${JobInspectionLine.FollowUpJob}" Title="#label(FOLLOWUP_JOB)">
			<Condition><![CDATA[${JobInspectionLine.FollowUpJob} != Empty]]></Condition>
		</Entity>
		<Text Title="#label(FINISHED_DATE)" Text="#formatdate(${JobInspectionLine.StatusFinishedDate} 'f' true)" Icon="ultimoweb-calendar">
			<Condition><![CDATA[${JobInspectionLine.StatusFinishedDate} != Empty]]></Condition>
		</Text>
		<Entity Value="${JobInspectionLine.StatusFinishedEmployee}" />
	</Section>
	<Section Id="MaintenanceRouteLine_Skipped" Comment="Maintenance routes new style: Skipped information">
		<Condition><![CDATA[#applicationelementenabled('27eea12a-6191-413c-81f2-23876546e9f8')
							&& ${JobInspectionLine.Status} == JobInspectionLineStatus.Skipped]]></Condition>
		<Text Title="#label(REASON_SKIPPED)" Text="#htmltoplain(${JobInspectionLine.SkipReason.Description?})" Icon="ultimoweb-clipboard-4" />
		<Text Title="#label(EXPLANATION_SKIPPED)" Text="#htmltoplain(${JobInspectionLine.Text2})" />
		<Text Title="#label(SKIPPED_DATE)" Text="#formatdate(${JobInspectionLine.StatusSkippedDate} 'f' true)" Icon="ultimoweb-calendar" />
		<Entity Value="${JobInspectionLine.StatusSkippedEmployee}" />
	</Section>
	<Section Id="Text" Comment="Maintenance routes new and old style">
		<Condition><![CDATA[${JobInspectionLine.Context} != JobInspectionLineContext.Inspection]]></Condition>
		<Text Title="#label(DESCRIPTION)" Text="${JobInspectionLine.Text}" Icon="ultimoweb-copy-2" ConvertHtmlToPlainText="True">
			<Condition><![CDATA[${JobInspectionLine.Text} != Empty]]></Condition>
		</Text>
		<Entity Value="${JobInspectionLine.Id.Job}" />
	</Section>
	<Section Id="Image" Comment="Maintenance routes old style: Image">
		<Document Title="#label(IMAGE_INSPECTION_POINT)" Text="#label(IMAGE_INSPECTION_POINT)" Image="${JobInspectionLine.InspectionLine.ImageFile?}" FileName="${JobInspectionLine.InspectionLine.ImageFile}">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.ImageFile?} != Empty
								&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
		</Document>
	</Section>
	<Section Id="Location" Comment="Maintenance routes new and old style: General information">
		<Entity Value="${JobInspectionLine.InspectionLine.Equipment}" />
		<Entity Value="${JobInspectionLine.InspectionLine.ProcessFunction}" />
		<Entity Value="${JobInspectionLine.InspectionLine.Space}" />
		<Entity Value="${JobInspectionLine.InspectionLine.Article}" />
		<Text Title="#label(MAINTENANCE_ROUTE_PLANNED_NUMBER_ARTICLES)" Text="${JobInspectionLine.InspectionLine.PlannedArticleQuantity}" Icon="ultimoweb-cart-add">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine} != Empty
								&& ${JobInspectionLine.InspectionLine.PlannedArticleQuantity} > 0]]></Condition>
		</Text>
	</Section>
	<Section Id="Measurement" Comment="Maintenance routes + inspection old style: Measurement point information">
		<Condition><![CDATA[${JobInspectionLine.Context} != JobInspectionLineContext.Inspection]]></Condition>
		<Entity Value="${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint}">
			<Condition><![CDATA[#applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')
								&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
		</Entity>
		<Text Title="#label(LAST_MEASURED_VALUE)" Text="${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.LastValue}">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
								&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')
								&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
		</Text>
		<Text Title="#label(NOMINAL_VALUE)" Text="${JobInspectionLine.NominalValue} ${JobInspectionLine.MeasureCode.Description?}">
			<Condition><![CDATA[${JobInspectionLine.NominalValue} != Empty
								&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')
								&& #applicationelementenabled('1d466850-272c-4b86-b54d-19f38968cb68')]]></Condition>
		</Text>
	</Section>
	<Section Id="MeasureValue" Comment="Maintenance routes old style + inspection old style: Measured value">
		<Condition><![CDATA[${JobInspectionLine.Context} != JobInspectionLineContext.Inspection]]></Condition>
		<Text Title="#label(MEASURED_VALUE)" Text="${JobInspectionLine.Value} ${JobInspectionLine.MeasureCode.Description?}">
			<Condition><![CDATA[${JobInspectionLine.Value} != Empty
								&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')
								&& #applicationelementenabled('1d466850-272c-4b86-b54d-19f38968cb68')]]></Condition>
		</Text>
		<Text Title="#label(MEASURED_VALUE)" Text="${JobInspectionLine.EquipmentIndicatorValue} ${JobInspectionLine.MeasureCode.Description?}">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.Equipment?} != Empty
								&& ${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint?} != Empty
								&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')
								&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
		</Text>
		<Text Title="#label(MEASURED_VALUE)" Text="${JobInspectionLine.ProcessFunctionIndicatorValue} ${JobInspectionLine.MeasureCode.Description?}">
			<Condition><![CDATA[${JobInspectionLine.InspectionLine.ProcessFunction?} != Empty
								&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')
								&& #applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
		</Text>
		<Text Title="#label(FINDINGS)" Text="${JobInspectionLine.Text1}">
			<Condition><![CDATA[#applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')
								|| #applicationelementenabled('1d466850-272c-4b86-b54d-19f38968cb68')]]></Condition>
		</Text>
	</Section>
	<Section Id="ReportMeasurementCourseroute">
		<Condition><![CDATA[#applicationelementenabled('ab085696-8ef5-4160-af0c-c6c42fe7f6fe')]]></Condition>
		<Workflow
			Name="Mobile_JobInspectionLine_CourseRoute"
			Title="#label(ENTER_MEASUREMENT_VALUE)"
			Text="#label(ENTER_MEASUREMENT_VALUE)"
			Icon="ultimoweb-meter">
			<Condition><![CDATA[${JobInspectionLine.Context} == 2
								&& (
									${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
									|| #{Settings.Job.ModifyAnyJob}
								)
								&& ${JobInspectionLine.InspectionLine.Equipment?} != Empty
								&& (
									${JobInspectionLine.Id.Job.Status} != JobStatus.Created
									&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Approved
									&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed
								)
								&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="Value" Title="#label(MEASURED_VALUE)#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}!=Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?})#end" Text="#label(NOMINAL_VALUE) ${JobInspectionLine.NominalValue} ${JobInspectionLine.MeasureCode.Description?}" Type="Decimal" Value="${JobInspectionLine.Value}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Ok"
			Title="#label(MAINTENANCE_ROUTE_POINT_OK)"
			Text="#label(REPORT_OK)"
			Icon="ultimoweb-checkmark">
			<Condition><![CDATA[${JobInspectionLine.Context} == 2
								&& (
									${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
									|| #{Settings.Job.ModifyAnyJob}
								)
								&& ${JobInspectionLine.QualityOk} == False
								&& (
									${JobInspectionLine.Id.Job.Status} != JobStatus.Created
									&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Approved
									&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed
								)]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="QualityOk" Value="False" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Ok"
			Title="#label(MAINTENANCE_ROUTE_POINT_NOK)"
			Text="#label(REPORT_NOK)"
			Icon="ultimoweb-radio-unchecked">
			<Condition><![CDATA[${JobInspectionLine.Context} == 2
								&& (
									${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
									|| #{Settings.Job.ModifyAnyJob}
								)
								&& ${JobInspectionLine.QualityOk} == True
								&& (
									${JobInspectionLine.Id.Job.Status} != JobStatus.Created
									&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Approved
									&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed
								)]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="QualityOk" Value="True" />
			</Properties>
		</Workflow>
	</Section>
	<Section Id="ReportMeasurementInspectionLine">
		<Workflow
			Name="Mobile_JobInspectionLine"
			Title="#label(ENTER_MEASUREMENT_VALUE)"
			Text="#label(ENTER_MEASUREMENT_VALUE)"
			Icon="ultimoweb-meter">
			<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Standard
								&& #applicationelementenabled('f86563ec-0564-4cdd-9093-1262c6e3a39d')
								&& (
									${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
									|| #{Settings.Job.ModifyAnyJob}
								)
								&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="Value" Title="#label(MEASURED_VALUE)#if(${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?}!=Empty) (${JobInspectionLine.InspectionLine.EquipmentMeasurementPoint.MeasureCode.Description?})#end" Text="#label(NOMINAL_VALUE) ${JobInspectionLine.NominalValue} ${JobInspectionLine.MeasureCode.Description?}" Type="String" Value="${JobInspectionLine.Value}" />
				<Property Name="Text" Title="#label(FINDINGS)" Text="#label(INSPECTION_POINT_FINDINGS)" Type="String" Value="${JobInspectionLine.Text1}" Html="True" />
				<Property Name="QualityOk" Title="#label(MEASUREMENT_POINT_OK)" Type="Boolean" Value="#if(${JobInspectionLine.Done})${JobInspectionLine.QualityOk}#end" Required="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Ok"
			Title="#label(INSPECTIONLINE_OK)"
			Text="#label(REPORT_OK)"
			Icon="ultimoweb-checkmark">
			<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Standard
								&& (
									${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
									|| #{Settings.Job.ModifyAnyJob}
								)
								&& ${JobInspectionLine.QualityOk} == False
								&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="QualityOk" Value="False" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_Ok"
			Title="#label(INSPECTIONLINE_NOK)"
			Text="#label(REPORT_NOK)"
			Icon="ultimoweb-radio-unchecked">
			<Condition><![CDATA[${JobInspectionLine.Context} == JobInspectionLineContext.Standard
								&& (
									${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
									|| #{Settings.Job.ModifyAnyJob}
								)
								&& ${JobInspectionLine.QualityOk} == True
								&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed]]></Condition>
			<Properties>
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="QualityOk" Value="True" />
			</Properties>
		</Workflow>
	</Section>
	<Section Id="ConditionFlawPresent">
		<Workflow
			Name="Mobile_JobInspectionLine_ReportConditionFlawPresent"
			Title="#label(REPORT_CONDITIONFLAW)"
			Text="#label(REPORT_CONDITIONFLAW_INFRAJOB)"
			Icon="ultimoweb-warning">
			<Condition><![CDATA[${JobInspectionLine.Context} == 1
								&& (
									${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
									|| #{Settings.Job.ModifyAnyJob}
								)
								&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed]]></Condition>
			<Properties>
				<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Infra" />
				<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" SingleLine="True" />
				<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Required="True" Html="True" />
				<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" />
				<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" />
				<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" />
				<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" />
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_JobInspectionLine_ReportConditionFlawPresent"
			Title="#label(REPORTANDSOLVE_CONDITIONFLAW)"
			Text="#label(REPORTANDSOLVE_CONDITIONFLAW_INFRAJOB)"
			Icon="ultimoweb-warning">
			<Condition><![CDATA[${JobInspectionLine.Context} == 1
								&& (
									${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
									|| #{Settings.Job.ModifyAnyJob}
								)
								&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed]]></Condition>
			<Properties>
				<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Infra" />
				<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" SingleLine="True" />
				<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Required="True" Html="True" />
				<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" />
				<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" />
				<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" />
				<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" />
				<Property Name="JobId" Value="${JobInspectionLine.Id.Job.Id}" />
				<Property Name="JobInspectionLineId" Value="${JobInspectionLine.Id.LineId}" />
				<Property Name="SolveWithJob" Value="True" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_Equipment_ReportConditionFlawPresent"
			Title="#label(REPORT_CONDITIONFLAW)"
			Text="#if(${JobInspectionLine.Id.Job.Equipment.Context}==EquipmentContext.Element)#label(REPORT_CONDITIONFLAW_INFRAELEMENT)#elseif(${JobInspectionLine.Id.Job.Equipment.Context}==EquipmentContext.BuildingPart)#label(REPORT_CONDITIONFLAW_INFRABUILDINGPART)#end"
			Icon="ultimoweb-warning">
			<Condition><![CDATA[${JobInspectionLine.Id.Job.Equipment?} != Empty
								&& ${JobInspectionLine.Context} == 1
								&& (
									${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
									|| #{Settings.Job.ModifyAnyJob}
								)
								&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed]]></Condition>
			<Properties>
				<Property Name="Equipment" Value="${JobInspectionLine.Id.Job.Equipment.Id?}" />
				<Property Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.Equipment.ProcessFunction.Id?}" />
				<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Infra" />
				<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" SingleLine="True" />
				<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Required="True" Html="True" />
				<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" />
				<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" />
				<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" />
				<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" />
			</Properties>
		</Workflow>
		<Workflow
			Name="Mobile_ProcessFunction_ReportConditionFlawPresent"
			Title="#label(REPORT_CONDITIONFLAW)"
			Text="#label(REPORT_CONDITIONFLAW_INFRAOBJECT)"
			Icon="ultimoweb-warning">
			<Condition><![CDATA[${JobInspectionLine.Id.Job.Equipment?} == Empty
								&& ${JobInspectionLine.Id.Job.ProcessFunction?} != Empty
								&& ${JobInspectionLine.Context} == 1
								&& (
									${JobInspectionLine.Id.Job.Employee.Id?} == #{User.EmployeeId}
									|| #{Settings.Job.ModifyAnyJob}
								)
								&& ${JobInspectionLine.Id.Job.Status} != JobStatus.Closed]]></Condition>
			<Properties>
				<Property Name="ProcessFunction" Value="${JobInspectionLine.Id.Job.ProcessFunction.Id}" />
				<Property Name="ConditionFlawPresentContext" Value="ConditionFlawPresentContext.Infra" />
				<Property Name="ConditionFlawPresentStatus" Value="ConditionFlawPresentStatus.Active" />
				<Property Name="Description" Title="#label(DESCRIPTION)" Text="#label(ENTER_DESCRIPTION)" Type="String" Required="True" SingleLine="True" />
				<Property Name="Text" Title="#label(EXPLANATION)" Text="#label(ENTER_REMARK)" Type="String" Required="True" Html="True" />
				<Property Name="Image" Title="#label(ILLUSTRATION_1)" Type="Image" />
				<Property Name="Image2" Title="#label(ILLUSTRATION_2)" Type="Image" />
				<Property Name="Image3" Title="#label(ILLUSTRATION_3)" Type="Image" />
				<Property Name="Image4" Title="#label(ILLUSTRATION_4)" Type="Image" />
			</Properties>
		</Workflow>
	</Section>
</Screen>

Brondatabewerken