APulver-esristaff

Introducing the Workforce Python Module!

Blog Post created by APulver-esristaff Employee on Apr 25, 2018

Last week, Esri released an update to the ArcGIS API for Python (v1.4.1). Among the many updates, this release included a new API for managing projects within Workforce for ArcGIS!

 

We’ve had sample scripts hosted on GitHub for several years which show how to use Python to accomplish many tasks such as programmatically loading assignments from external data sources, importing and managing workers, removing completed assignments, and more. However, several of those scripts require extensive knowledge of the Workforce project schema and rules. In an effort to simplify the automation of Workforce tasks, the ArcGIS API for Python now includes a specific module for managing Workforce projects. 

 

This is awesome new functionality that will greatly improve and simplify your Workforce automation workflows. We plan to update the workforce-scripts repo in the coming weeks to use this new module. In the meantime, please check out this this Jupyter notebook which highlights how to use the new Workforce module.

 

Additional documentation about the workforce module can be found here.

Outcomes