Skip to content

Sample ArcGIS Workflow Manager Classic widgets inside Operations Dashboard

License

Notifications You must be signed in to change notification settings

Esri/workflowmanager-dashboard-samples

Repository files navigation

Workflow Manager Dashboard Samples

This project contains 3 sample ArcGIS Workflow Manager Operations Dashboard widgets.

Widgets

Operations Dashboard Screenshot

Reports Widget

This widget shows an overview of all of the jobs in the Workflow Manager system in pie chart form. It also allows you to hover over sections of each section of the pie to view information about how many jobs are in that category.

Reports Widget Screenshot

Create Job Widget

This widget allows you to create new jobs of any active Job Type, with an optional Area of Interest (AOI).

Create Job Widget Screenshot

Job Workflow Widget

This widget allows you to select an AOI on the map and see the name and workflow of the selected job. It also allows you to execute or mark steps as complete when allowed.

Job Workflow Widget Screenshot

Instructions

  1. Download the source code and save to a local folder or clone the repository

  2. Edit the configuration options in config/settings.js.

  3. Create a new ArcGIS Online Web Map which will be the basis of your operations view.

    • This Web Map should contain the AOI layer for the Workflow Manager view Add Layer Screenshot
  4. Either open Operations Dashboard in Dev Mode or deploy the widgets for use in Operations Dashboard

  5. Create a new Operations View using the Web Map created earlier.

    • Turn on the option for the AOI layer to be selectable Selectable Option
  6. Add the widgets to the Operations View

    • When adding the Job Workflow Widget, use the Selection of the AOI layer as the Data Source Configuring Job Workflow Widget

Resources

For more information, see the Workflow Manager JS API documentation at https://workflowsample.esri.com/doc/javascript/jsapi/index.html and the Operations Dashboard Extensibility documentation at https://developers.arcgis.com/javascript/jshelp/operations-dashboard-extensibility-overview.html

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright 2016 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's license.txt file.