Populate these modules with all of the Maintenance and Alternate zones. These can be imported or entered manually.
Note: If the zones change regularly, you may consider a periodic or scheduled import. You can use the Lucity Import and Update tool to do this.
In GIS
Identify polygon feature classes that store the maintenance zone and/or alternate zone.
Make sure that each feature class has a field that stores the Maintenance Zone code or Alternate Zone code. These values must match the values entered into the Work Maintenance Zone Setup and Work Alternate Zone Setup modules.
Populating Zones from Assets
In Lucity
You can manually update asset's zone fields.
In GIS
In your asset feature classes add a zone field to store the Maintenance or Alternate zone code.
Link the zone fields from you asset feature classes to the related zone field in Lucity
Setup a spatial relationship for each feature class to update the zone fields in you with the code from the Zone feature class.
Perform a spatial update on all your asset records with the related zone code and automatically sync that data to the related Lucity Record.
Populating Zones by Location
Add the maintenance zone and/or alternate zone feature classes to a map.
Publish the map to ArcServer as a map service.
Open the Lucity Administration Tool and go to GIS > Map Services.
Add the service that contains the zones to the list of map services.
Make sure the URLs are accessible from the Lucity Web server, Luctity Mobile server, Lucity Citizen Portal server, Lucity REST API server, Lucity Citizen Portal REST API server.
In Lucity Web and go to Admin Portal > Settings > System Settings > GIS Web and make sure the URL for Geocoding Service is filled out.
In the Lucity Admin Tool and go to GIS > GIS Services > Work Zone Services tab.
Fill out the fields using the information from the map service.
When users add a Work Request or Work Order without an asset it will try to lookup the zone using the XY coordinates or address on the fly.
Note: This same setup can be used to lookup the zone of point assets on the fly because point features synced to lucity automatically store their XY coordinates. However, this will slow down the process of saving the work order or request.
Configure Default Supervisors for Maintenance Zones
Open up the Work > Work Flow Setup > Work Problem Setup module.
Find a problem you would like to add a zone supervisor to.
Expand the record and select the Zone Supervisors child grid.
Add a new Zone Supervisor record.
Select a Maintenance Zone.
Select a Supervisor.
Add a new record for each maintenance zone.
How it works
Requests
A user creates a request, selects a problem, and assigns an asset.
The system checks to see if the asset has zones assigned to them. If it does, it updates the zones on the request.
When the request is saved the system checks to see if there are any zones assigned.
If there aren't zones assigned it attempts to find a zone based on the assets XY coordinates, XY coordinates entered on the request, and the address entered on the request.
Once the zones are figured out it it checks the selected Problem to see if it has any matching Maintenance Zone supervisors.
If the Problem has a matching Maintenance Zone supervisor the Request's Supervisor field is updated to match.
Work Orders
A user creates a work order, selects a problem, and adds an asset and/or location record.
The system checks to see if the first asset on the work order has zones assigned to them. If it does, it updates the zones on the work order.
When the Work Order is saved the system checks to see if there are any zones assigned.
If there aren't zones assigned it attempts to find a zone based on the first assets XY coordinates, XY coordinates of the first location entered on the work order, and the address of the first location entered on the work order.
Once the zones are figured out it it checks the selected Problem to see if it has any matching Maintenance Zone supervisors.
If the Problem has a matching Maintenance Zone supervisor the Work Order's Supervisor field is updated to match.
Special Behaviors
If the maintenance zone isn't filled out on the asset and the program has to ask the GIS Server for the zone information it will only wait for 10 seconds before timing out.
If the GIS Server times out 15 times in one day the program will stop asking it for zone information and will send a system health and gis update failure email. This is to prevent the work order and request modules from slowing down while waiting.