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

ActionField1235

Beschrijving: Show ArcGIS report with Finished, Completed and Closed Jobs per ProcessFunction (Object or Complex). Custom: Nee

Propertiesbewerken

Property Type Accessor
ColorAttribute String Optional
Map String Optional
ProcessFunctionContext Context? Optional

XMLbewerken

<Workflow Name="ActionField1235" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
	<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
	<Description>Show ArcGIS report with Finished, Completed and Closed Jobs per ProcessFunction (Object or Complex).</Description>
	<Properties>
		<Property	Name="ColorAttribute"			Type="String"			Accessor="Optional"	Direction="In"		Comment="Set 'MaintenanceState' to select MaintenanceState in dialog or set 'RiskClass' to select RiskClass in dialog" />
		<Property	Name="Map"						Type="String"			Accessor="Optional"	Direction="In"		Comment="Use this map for the report" />
		<Property	Name="ProcessFunctionContext"	Type="Context?"			Accessor="Optional"	Direction="In"		Comment="Show only ProcessFunctions with this context" />

		<Property	Name="FailType"					Type="FailType"			Accessor="Internal" />
		<Property	Name="FromDate"					Type="DateTime?"		Accessor="Internal" />
		<Property	Name="GISMap"					Type="GISMap"			Accessor="Internal" />
		<Property	Name="LegendTitle"				Type="String"			Accessor="Internal" />
		<Property	Name="MaintenanceState"			Type="MaintenanceState"	Accessor="Internal" />
		<Property	Name="ProgressStatus"			Type="ProgressStatus"	Accessor="Internal" />
		<Property	Name="ReportTitle"				Type="String"			Accessor="Internal" />
		<Property	Name="RiskClass"				Type="RiskClass"		Accessor="Internal" />
		<Property	Name="SkillCategory"			Type="SkillCategory"	Accessor="Internal" />
		<Property	Name="TillDate"					Type="DateTime?"		Accessor="Internal" />
		<Property	Name="WorkOrderType"			Type="WorkOrderType"	Accessor="Internal" />
	</Properties>
	<Execution>
		<UserContent Name="Pre" />

		<WorkflowCall Name="Dialog_ArcgisJobBasedReport" WorkflowName="Dialog_ArcgisJobBasedReport">
			<Parameter	Name="SelectDate"				Direction="In"		Value="True" />
			<Parameter	Name="SelectGISMap"				Direction="In"		Value="=${Map} == Empty" />
			<Parameter	Name="SelectMaintenanceState"	Direction="In"		Value="=${ColorAttribute} == MaintenanceState" />
			<Parameter	Name="SelectRiskClass"			Direction="In"		Value="=${ColorAttribute} == RiskClass" />
			<Parameter	Name="FromDate"					Direction="InOut"	Value="=#addyears(#{Environment.CurrentDateTime}, -1)"	OutputProperty="${FromDate}" />
			<Parameter	Name="GISMap"					Direction="Out"																OutputProperty="${GISMap}" />
			<Parameter	Name="MaintenanceState"			Direction="Out"																OutputProperty="${MaintenanceState}" />
			<Parameter	Name="ProgressStatus"			Direction="Out"																OutputProperty="${ProgressStatus}" />
			<Parameter	Name="RiskClass"				Direction="Out"																OutputProperty="${RiskClass}" />
			<Parameter	Name="SkillCategory"			Direction="Out"																OutputProperty="${SkillCategory}" />
			<Parameter	Name="TillDate"					Direction="Out"																OutputProperty="${TillDate}" />
			<Parameter	Name="WorkOrderType"			Direction="Out"																OutputProperty="${WorkOrderType}" />
		</WorkflowCall>

		<When Name="selected a map" Condition="${Map} == Empty">
			<Assign Name="set map" Property="${Map}" Value="${GISMap.Id}" />
		</When>

		<Choose Name="which ColorAttribute">
			<When Name="is it RiskClass?" Condition="${ColorAttribute} == RiskClass">
				<FormatText Name="RISKSCORE" TextCode="RISKSCORE" Application="LABEL" OutputProperty="${LegendTitle}" />

				<Choose Name="context?">
					<When Name="context complex?" Condition="${ProcessFunctionContext} == ProcessFunctionContext.Complex">
						<FormatText Name="ARCGISFINISHEDJOBSPERCOMPLEXANDRISK" TextCode="ARCGISFINISHEDJOBSPERCOMPLEXANDRISK" Application="LABEL" OutputProperty="${ReportTitle}" />
					</When>


					<When Name="context object?" Condition="${ProcessFunctionContext} == ProcessFunctionContext.Object">
						<FormatText Name="ARCGISFINISHEDJOBSPEROBJECTANDRISK" TextCode="ARCGISFINISHEDJOBSPEROBJECTANDRISK" Application="LABEL" OutputProperty="${ReportTitle}" />
					</When>
				</Choose>
			</When>


			<When Name="is it MaintenanceState?" Condition="${ColorAttribute} == MaintenanceState">
				<FormatText Name="CONDITION_SCORE" TextCode="CONDITION_SCORE" Application="LABEL" OutputProperty="${LegendTitle}" />

				<When Name="context object?" Condition="${ProcessFunctionContext} == ProcessFunctionContext.Object">
					<FormatText Name="ARCGISFINISHEDJOBSPEROBJECTANDCONDITION" TextCode="ARCGISFINISHEDJOBSPEROBJECTANDCONDITION" Application="LABEL" OutputProperty="${ReportTitle}" />
				</When>
			</When>

			<Otherwise Name="none of the above">
				<Choose Name="context?">
					<When Name="context complex?" Condition="${ProcessFunctionContext} == ProcessFunctionContext.Complex">
						<FormatText Name="ARCGISFINISHEDJOBSPERCOMPLEX" TextCode="ARCGISFINISHEDJOBSPERCOMPLEX" Application="LABEL" OutputProperty="${ReportTitle}" />
					</When>


					<When Name="context object?" Condition="${ProcessFunctionContext} == ProcessFunctionContext.Object">
						<FormatText Name="ARCGISFINISHEDJOBSPEROBJECT" TextCode="ARCGISFINISHEDJOBSPEROBJECT" Application="LABEL" OutputProperty="${ReportTitle}" />
					</When>
				</Choose>
			</Otherwise>
		</Choose>

		<WorkflowCall Name="ArcGIS_ReportJobsPerProcessFunction" WorkflowName="ArcGIS_ReportJobsPerProcessFunction">
			<Parameter	Name="ColorAttribute"			Direction="In"		Value="${ColorAttribute}" />
			<Parameter	Name="FailType"					Direction="In"		Value="${FailType}" />
			<Parameter	Name="FromDate"					Direction="In"		Value="${FromDate}" />
			<Parameter	Name="JobStatus"				Direction="In"		Value="JobStatus.Finished, JobStatus.Completed, JobStatus.Closed" />
			<Parameter	Name="LegendTitle"				Direction="In"		Value="${LegendTitle}" />
			<Parameter	Name="MaintenanceState"			Direction="In"		Value="${MaintenanceState}" />
			<Parameter	Name="Map"						Direction="In"		Value="${Map}" />
			<Parameter	Name="ProcessFunctionContext"	Direction="In"		Value="${ProcessFunctionContext}" />
			<Parameter	Name="ProgressStatus"			Direction="In"		Value="${ProgressStatus}" />
			<Parameter	Name="ReportTitle"				Direction="In"		Value="${ReportTitle}" />
			<Parameter	Name="RiskClass"				Direction="In"		Value="${RiskClass}" />
			<Parameter	Name="SkillCategory"			Direction="In"		Value="${SkillCategory}" />
			<Parameter	Name="TillDate"					Direction="In"		Value="${TillDate}" />
			<Parameter	Name="WorkOrderType"			Direction="In"		Value="${WorkOrderType}" />
		</WorkflowCall>

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