Code Monkey home page Code Monkey logo

Comments (5)

crai3162 avatar crai3162 commented on June 3, 2024

Hi @jmdye, this is something we discussed, but decided not to go in that direction as Workers is primary case where importing is needed due to the number of workers.

Are you asking for a script to import dispatchers for completeness? Or, do you have a large number of dispatchers to add where performing this manually would cause an issue.

thanks for the feedback.

from workforce-scripts.

jmdye avatar jmdye commented on June 3, 2024

Dozens of projects, different dispatchers for each. Easy but tedious to go into each project and manually add dispatchers.

Lack of import_dispatchers capability also makes it impossible to build a soup-to-nuts workflow for creating new projects. For instance, if your assignmentsCSV uses the -dispatcherIdField, you then have to pause before running create_assignments_from_csv so that you can go and manually add the dispatchers to the project to ensure that the dispatcherIdField is valid and corresponds to the correct dispatcher

from workforce-scripts.

crai3162 avatar crai3162 commented on June 3, 2024

Hi @jmdye all good points, thanks for taking the time to add them.

We'll take a look at adding a script or updating the existing script to do this, for simplicity, we'll probably look at creating a new script specifically for Dispatchers.

from workforce-scripts.

jmdye avatar jmdye commented on June 3, 2024

cool. whatever works best. thanks for considering it. One thing I'd call out - I think I saw some logic in one of the scripts to ensure workers are unique and aren't added to the project more than once. (maybe I was hallucinating, I don't recall specifically where I think I saw it). In any case, we usually allow our Dispatchers to also have the Worker role so that they can use the mobile app to see what the field worker sees. Also makes it easier if a Dispatcher needs to update something for the Worker. We're not on Win10 yet, so no Workforce Desktop here =(

from workforce-scripts.

apulverizer avatar apulverizer commented on June 3, 2024

We added a new script that does this.
https://github.com/Esri/workforce-scripts/blob/master/scripts/import_dispatchers.py

Closing.

from workforce-scripts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.