Categorie: reference
Bijgewerkt: 2026-04-08
actionfield workflow actionfield1224
ActionField1224
Beschrijving: Start ArcGIS from a Job. Custom: Nee
Propertiesbewerken
| Property | Type | Accessor |
|---|---|---|
| Job | Job | Root |
| Map | String | Optional |
XMLbewerken
<Workflow Name="ActionField1224" Version="2025.07.28" WorkflowType="Standard" xmlns="urn:Ultimo.Framework.Workflow-mapping">
<Security EditLevel="10" ViewLevel="20" UserContentLevel="30" />
<Description>Start ArcGIS from a Job.</Description>
<Properties>
<Property Name="Job" Type="Job" Accessor="Root" Direction="In" />
<Property Name="Map" Type="String" Accessor="Optional" Direction="In" Default="0002" Comment="Use this map for the report" />
<Property Name="DomainObject" Type="DomainObject" Accessor="Internal" />
<Property Name="DomainObjectDescription" Type="String" Accessor="Internal" />
<Property Name="GeocodeX" Type="Decimal?" Accessor="Internal" />
<Property Name="GeocodeY" Type="Decimal?" Accessor="Internal" />
<Property Name="GeoObject" Type="GeoObject" Accessor="Internal" />
<Property Name="Locations" Type="List[Dictionary[Object]]" Accessor="Internal" />
<Property Name="Titles" Type="Dictionary[Object]" Accessor="Internal" />
</Properties>
<Execution>
<UserContent Name="Pre" />
<Comment><![CDATA[if there is an equipment associated with the job and the equipment has a GeoObject,
find the layer object linked to the GeoObject and zoom in on the coordinates specified. If there is no
equipment, search for a process function and its GeoObject. If there is no GeoObject found, just zoom in on the coordinates using a default basemap ]]></Comment>
<Transaction>
<Command Name="ArcGIS_DetermineCoordinates" CommandName="ArcGIS_DetermineCoordinates">
<Parameter Name="Job" Direction="In" Value="${Job}" />
<Parameter Name="GeocodeX" Direction="Out" OutputProperty="${GeocodeX}" />
<Parameter Name="GeocodeY" Direction="Out" OutputProperty="${GeocodeY}" />
<Parameter Name="GeoObject" Direction="Out" OutputProperty="${GeoObject}" />
</Command>
<Validation Name="check coordinates" Condition="(${GeocodeX} != Empty && ${GeocodeY} != Empty) || ${GeoObject} != Empty" MessageCode="2906" />
<When Name="check geo object " Condition="${GeoObject.GISMapLayer.GISMap?} != Empty">
<Assign Name="set map config" Property="${Map}" Value="${GeoObject.GISMapLayer.GISMap.Id}" />
</When>
<Command Name="call ArcGIS_AddDataObject" CommandName="ArcGIS_AddDataObject">
<Parameter Name="Description" Direction="In" Value="${DomainObjectDescription}" />
<Parameter Name="FirstAttribute" Direction="In" Value="=#concat(${Job.Id}, ' - ', ${Job.Description})" />
<Parameter Name="GeocodeX" Direction="In" Value="${GeocodeX}" />
<Parameter Name="GeocodeY" Direction="In" Value="${GeocodeY}" />
<Parameter Name="GeoObject" Direction="In" Value="${GeoObject}" />
<Parameter Name="Size" Direction="In" Value="20" />
<Parameter Name="Locations" Direction="InOut" Value="${Locations}" OutputProperty="${Locations}" />
</Command>
</Transaction>
<Command Name="ArcGIS_AddTitles" CommandName="ArcGIS_AddTitles">
<Parameter Name="DescriptionTitle" Direction="In" Value="Beschrijving" />
<Parameter Name="FirstAttributeTitle" Direction="In" Value="Job" />
<Parameter Name="Titles" Direction="Out" OutputProperty="${Titles}" />
</Command>
<UserContent Name="Post" />
<View Name="GIS" ViewName="GISController">
<Parameter Name="Action" Direction="In" Value="open" />
<Parameter Name="Controller" Direction="In" Value="arcgis" />
<Parameter Name="Locations" Direction="In" Value="${Locations}" />
<Parameter Name="Map" Direction="In" Value="${Map}" />
<Parameter Name="Titles" Direction="In" Value="${Titles}" />
</View>
</Execution>
</Workflow>