<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Workforce - Migrate Assignments to different Account in ArcGIS Workforce Questions</title>
    <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829395#M1026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand your point; the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;create_assignments_from_csv script was meant to import new assignments (and optionally assign them to a worker); it was not written to port assignments from an existing instance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The script can be modified to import status values, unfortunately, this isn't an update we have planned for the scripts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Craig&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Nov 2017 18:39:48 GMT</pubDate>
    <dc:creator>CraigGillgrass</dc:creator>
    <dc:date>2017-11-01T18:39:48Z</dc:date>
    <item>
      <title>Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829392#M1023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I look after Workforce for an Enterprise Client organisation.&lt;/P&gt;&lt;P&gt;They have just procured an on-prem instance of ArcGIS and I am migrating the Assignments from the old (ArcGIS Online Workforce) to new (private Workforce) instance.&lt;/P&gt;&lt;P&gt;I have created a new Project, set up the required Assignment Types and given the Users the right Roles.&lt;/P&gt;&lt;P&gt;I have exported all the Assignments from the old instance using the Python standalone script export_assignments_to_csv.&lt;/P&gt;&lt;P&gt;I am editing the produced CSV file to make it compatible with the create_assignments_from_csv Python standalone script so that I can use this to upload the Assignments from the ArcGIS Online to the private Workforce...&lt;/P&gt;&lt;P&gt;I have a bunch of Status field entries in my export, which I imagine reflect the Completed/In Progress/Paused etc status of each task - but the create_assignments documentation does not say that I can import these.&lt;/P&gt;&lt;P&gt;Please advise how I can import the status fields?&lt;/P&gt;&lt;P&gt;Or... is there a better way to achieve what I'm trying to do?&lt;/P&gt;&lt;P&gt;Thanks so much in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Oct 2017 11:33:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829392#M1023</guid>
      <dc:creator>JonathanGroves</dc:creator>
      <dc:date>2017-10-19T11:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829393#M1024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A couple things you're going to want to keep in mind when migrating a Workforce Project and it's data to another project:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Workforce uses a Coded Value Domain for storing the Assignment Types, so there may be gaps in the code for the Assignment Types.&amp;nbsp; You'd see this in the new Assignments feature service when viewing the data.&lt;/LI&gt;&lt;LI&gt;For the Workers and Dispatchers; the same issue can arise; you may have gaps in the ObjectID field for each of the feature services could cause issues in the new project.&amp;nbsp; You can also see this in the feature service data.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you go into a little more details on your comment about not being able to import the status fields?&amp;nbsp; This should just work; the codes for the status fields should match up with the status field values in the new project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2017 23:51:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829393#M1024</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2017-10-20T23:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829394#M1025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I’d noticed the coded type values: I have created dummy assignments containing each type with the type name as text in the description. As you note, the same issue arises with Workers but I have included all the variations in dummy assignments similarly. (This Project only has one Dispatcher.) Exporting these dummy assignments using the download to CSV script, then inspecting the CSV reveals the correlation between keys and values, so I can then search and replace in my input file with ease.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regarding the Status field... the documentation for the create_assignments_from_csv script does not mention Status as one of the available fields. What column header text must I use?&lt;/P&gt;&lt;P&gt;The code in the create_assignments_from_csv.py script which handles passed parameters from the script invocation shows this:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;if __name__ == "__main__":&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Get all of the commandline arguments&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser = argparse.ArgumentParser("Add Assignments to Workforce Project")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-u', dest='username', help="The username to authenticate with", required=True)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-p', dest='password', help="The password to authenticate with", required=True)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-url', dest='org_url', help="The url of the org/portal to use", required=True)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; # Parameters for workforce&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-pid', dest='projectId', help="The id of the project to add assignments to", required=True)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-xField', dest='xField', help="The field that contains the x SHAPE information", required=True)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-yField', dest='yField', help="The field that contains the y SHAPE information", required=True)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-assignmentTypeField', dest='assignmentTypeField',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help="The field that contains the assignmentType", required=True)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-locationField', dest='locationField',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help="The field that contains the location", required=True)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-dispatcherIdField', dest='dispatcherIdField',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help="The field that contains the dispatcherId")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-descriptionField', dest='descriptionField', help="The field that contains the description")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-priorityField', dest='priorityField', help="The field that contains the priority")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-workOrderIdField', dest='workOrderIdField', help="The field that contains the workOrderId")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-dueDateField', dest='dueDateField', help="The field that contains the dispatcherId")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-attachmentFileField', dest='attachmentFileField',&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help="The field that contains the file path to the attachment to upload")&lt;/P&gt;&lt;P&gt;parser.add_argument('-workerField', dest='workerField', help="The field that contains the workers username")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-dateFormat', dest='dateFormat', default=r"%m/%d/%Y %H:%M:%S",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; help="The format to use for the date (eg. '%m/%d/%Y %H:%M:%S'")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-timezone', dest='timezone', default="UTC", help="The timezone for the assignments")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-csvFile', dest='csvFile', help="The path/name of the csv file to read")&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-wkid', dest='wkid', help='The wkid that the x,y values are use', type=int, default=4326)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; parser.add_argument('-logFile', dest='logFile', help='The log file to use', required=True)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; args = parser.parse_args()&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;... so I don't see how I can ever pass to the script which fieldname to use for the status?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much obliged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 21 Oct 2017 05:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829394#M1025</guid>
      <dc:creator>JonathanGroves</dc:creator>
      <dc:date>2017-10-21T05:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829395#M1026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand your point; the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;create_assignments_from_csv script was meant to import new assignments (and optionally assign them to a worker); it was not written to port assignments from an existing instance.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;The script can be modified to import status values, unfortunately, this isn't an update we have planned for the scripts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Craig&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 18:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829395#M1026</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2017-11-01T18:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829396#M1027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Craig. But according to the Issue on GitHub it doesn’t even import basic fields like DueDate - which would surely be needed for everyday use in a use case where Assignments need to be batch imported from almost any other system...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I take your point about not supporting migration - we’ve already accepted this can’t be done - but if we can’t import planned Assignments in any way so they are usable, my Client will have to abandon Workforce and build a bespoke system instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 18:46:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829396#M1027</guid>
      <dc:creator>JonathanGroves</dc:creator>
      <dc:date>2017-11-01T18:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829397#M1028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I agree that fields such as Due Date would be needed for everyday use when importing from another system.&amp;nbsp; That is the goal behind the scripts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have updated the scripts to support 10.5.1; can you confirm that you're using the most recent version of the scripts?&amp;nbsp; If you are, could you supply a sample csv file you're using to upload to a Workforce Project on a 10.5.1 portal?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 18:58:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829397#M1028</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2017-11-01T18:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829398#M1029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We just tagged&amp;nbsp;a new release 1.2 for the scripts to clarify the updates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:21:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829398#M1029</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2017-11-01T19:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829399#M1030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Craig.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am indeed using the latest scripts, at least they were the latest when I double-checked last week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I’ll test again tomorrow and provide exact details of what I observe and the input data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JG.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:31:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829399#M1030</guid>
      <dc:creator>JonathanGroves</dc:creator>
      <dc:date>2017-11-01T19:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829400#M1031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Craig.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's the bash script (create_assignments_onprem.sh) I use to run the Enterprise assignments upload from csv:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;#!/bin/bash&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Onwave 2017&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Runs Python script: create_assignments_from_csv.py&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# which imports WorkForce assignments from a csv file named inputfile.csv&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# csv format thus:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Header row: xField,yField,Type,Location,Dispatcher,Description,Priority,Work Order Id,Due date,attachment&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Body rows follow this layout, comma separated, no trailing spaces.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Field descriptions:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xField&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = x coord (longitude) as decimal value&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yField&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = y coord (latitude) as decimal value&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = type of assignment (must be an integer)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Description of location, i.e. address&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dispatcher&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Name of Dispatcher adding data (perhaps use version of schedule file?)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Priority&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Priority rating&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Work Order Id&amp;nbsp;&amp;nbsp; = Job identity&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Due Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Date job must be completed by&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attachment&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Filename of file to attach&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; worker&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = name of worker&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# This version updated to allow for On-Prem WorkForce - Oct 2017 - Jonathan Groves&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;# Build parameter string (q):&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q="sudo python create_assignments_from_csv.py "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# csv filename:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-csvFile \"./inputfile.csv\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Username:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-u \"Jonathan.Groves\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Password:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-p \"xxxx\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# url:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;q+="-url \"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fxxxx" rel="nofollow" target="_blank"&gt;https://xxxx&lt;/A&gt;&lt;SPAN&gt;\" "&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Project ID:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-pid \"xxxx\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# xField - name of xField column:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-xField \"xField\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# yField:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-yField \"yField\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Type:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-assignmentTypeField \"Type\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Location:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-locationField \"Location\" "&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;# Description:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-descriptionField \"Description\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Priority:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-priorityField \"Priority\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Work order Id:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-workOrderIdField \"Work Order Id\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Dispatchers:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-dispatcherIdField \"Dispatcher\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# due date:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-dueDateField \"Due Date\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# attachment:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-attachmentFileField \"attachment\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# wkid - spatial reference used by xField and yField&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# NB defaults to 4236 (GCS_WGS_1984)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#q+="-wkid 102100 "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Logfile:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-logFile \"./log.txt\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Worker:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-workerField \"Worker\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Timezone:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-timezone \"US/Eastern\" "&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;# Debug:&lt;BR /&gt;#echo "&amp;gt;"$q"&amp;lt;"&lt;BR /&gt;eval $q&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Here is the output when I run it:&lt;/DIV&gt;&lt;P&gt;&lt;EM&gt;./create_assignments_onprem.sh&lt;BR /&gt;[2017-11-02 10:05:36,356] [create_assignments_from_csv.py: 261 -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main()]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [MainThread] [&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root] [&amp;nbsp;&amp;nbsp;&amp;nbsp; INFO] Authenticating...&lt;BR /&gt;[2017-11-02 10:05:36,608] [create_assignments_from_csv.py: 345 -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;module&amp;gt;()]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [MainThread] [&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root] [CRITICAL] Exception detected&lt;BR /&gt;, script exiting&lt;BR /&gt;[2017-11-02 10:05:36,609] [create_assignments_from_csv.py: 346 -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;module&amp;gt;()]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [MainThread] [&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root] [CRITICAL] No JSON object cou&lt;BR /&gt;ld be decoded&lt;BR /&gt;[2017-11-02 10:05:36,612] [create_assignments_from_csv.py: 347 -&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;module&amp;gt;()]&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [MainThread] [&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root] [CRITICAL] Traceback (most re&lt;BR /&gt;cent call last): |&amp;nbsp;&amp;nbsp; File "create_assignments_from_csv.py", line 343, in &amp;lt;module&amp;gt; |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main(args) |&amp;nbsp;&amp;nbsp; File "create_assignments_from_csv.py", line 263, in main | &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; token = workforcehelpers.get_token(args.org_url, args.username, args.password) |&amp;nbsp;&amp;nbsp; File "/home/pi/arcgis/workforcehelpers.py", line 78, in get_token |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; res&lt;BR /&gt;ponse = post(url, data) |&amp;nbsp;&amp;nbsp; File "/home/pi/arcgis/workforcehelpers.py", line 40, in post |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; response = requests.post(url, data, files=files).json() |&amp;nbsp;&amp;nbsp; File "/&lt;BR /&gt;usr/local/lib/python2.7/dist-packages/requests/models.py", line 885, in json |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return complexjson.loads(self.text, **kwargs) |&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/json&lt;BR /&gt;/__init__.py", line 338, in loads |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return _default_decoder.decode(s) |&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/json/decoder.py", line 366, in decode |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; obj, end = self&lt;BR /&gt;.raw_decode(s, idx=_w(s, 0).end()) |&amp;nbsp;&amp;nbsp; File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode |&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; raise ValueError("No JSON object could be decoded"&lt;BR /&gt;) | ValueError: No JSON object could be decoded |&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I successfully ran my original script on the Client's AGOL-based Workforce yesterday using exactly the same input file - here's that script (create_assignments_production.sh):&lt;/P&gt;&lt;DIV&gt;&lt;EM&gt;#!/bin/bash&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# go.sh - Onwave 2017&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Runs Python script: create_assignments_from_csv.py&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# which imports WorkForce assignments from a csv file named inputfile.csv&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# csv format thus:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Header row: xField,yField,Type,Location,Dispatcher,Description,Priority,Work Order Id,Due date,attachment&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Body rows follow this layout, comma separated, no trailing spaces.&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Field descriptions:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xField&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = x coord (longitude) as decimal value&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yField&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = y coord (latitude) as decimal value&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = type of assignment (must be an integer)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Location&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Description of location, i.e. address&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dispatcher&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Name of Dispatcher adding data (perhaps use version of schedule file?)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Priority&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Priority rating&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Work Order Id&amp;nbsp;&amp;nbsp; = Job identity&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Due Date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Date job must be completed by&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attachment&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = Filename of file to attach&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; worker&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = name of worker&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&lt;EM&gt;# Build parameter string (q):&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q="sudo python create_assignments_from_csv.py "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# csv filename:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-csvFile \"./inputfile.csv\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Username:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-u \"Jonathan.Groves\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Password:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-p \"xxxx\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# url:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&lt;SPAN&gt;q+="-url \"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fxxxx.maps.arcgis.com" rel="nofollow" target="_blank"&gt;https://xxxx.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;\" "&lt;/SPAN&gt;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Project ID:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-pid \"xxxx\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# xField - name of xField column:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-xField \"xField\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# yField:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-yField \"yField\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Type:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-assignmentTypeField \"Type\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Location:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-locationField \"Location\" "&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;# Description:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-descriptionField \"Description\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Priority:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-priorityField \"Priority\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Work order Id:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-workOrderIdField \"Work Order Id\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Dispatchers:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-dispatcherIdField \"Dispatcher\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# due date:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-dueDateField \"Due Date\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# attachment:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-attachmentFileField \"attachment\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# wkid - spatial reference used by xField and yField&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# NB defaults to 4236 (GCS_WGS_1984)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#q+="-wkid 102100 "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Logfile:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-logFile \"./log.txt\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Worker:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-workerField \"Worker\" "&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;# Timezone:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;q+="-timezone \"US/Eastern\" "&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;# Debug:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;#echo "&amp;gt;"$q"&amp;lt;"&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;eval $q&lt;/EM&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, the only differences between the two is the url and the PID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh - here's a snippet of the csv file:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;xField,yField,Type,Location,Dispatcher,Description,Priority,Work Order Id,Due Date,attachment,Worker&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;0.101466667,50.77328333,1,Seaford,1,Cut 6,3,USFD,10/23/2017 23:59:59,,eshgrass1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;0.195244444,50.85660278,1,Upper Dicker,1,Cut 6,3,UUDK,10/30/2017 23:59:59,,eshgrass1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;0.166230556,50.83036389,1,Berwick,1,Cut 6,3,UBRK,10/30/2017 23:59:59,,eshgrass1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;0.156430556,50.80839167,1,Alfriston,1,Cut 6,3,UALF,10/30/2017 23:59:59,,eshgrass1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;0.20045,50.819,1,Wilmington,1,Cut 6,3,UWLM,10/30/2017 23:59:59,,eshgrass1&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;0.204241667,50.764325,1,Friston,1,Cut 6,3,UFRS,10/31/2017 23:59:59,,eshgrass1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sadly the Python script from your GitHub has no readily-available version information but, from what I can see in your GitHub, the script has not changed since I downloaded it.&lt;/P&gt;&lt;P&gt;Any help you can give will be most gratefully received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 10:22:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829400#M1031</guid>
      <dc:creator>JonathanGroves</dc:creator>
      <dc:date>2017-11-02T10:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829401#M1032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan, thanks for sending this, we'll dig into it and get back to you.&amp;nbsp; It will be next week, as we're finishing up a number of releases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Craig&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Nov 2017 20:15:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829401#M1032</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2017-11-02T20:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829402#M1033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan, we're still looking at this - should have something next week.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 20:39:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829402#M1033</guid>
      <dc:creator>CraigGillgrass</dc:creator>
      <dc:date>2017-11-10T20:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829403#M1034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Craig.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;JG.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Nov 2017 20:42:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829403#M1034</guid>
      <dc:creator>JonathanGroves</dc:creator>
      <dc:date>2017-11-10T20:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce - Migrate Assignments to different Account</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829404#M1035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the scripts that use the Python API for ArcGIS have been updated to work with 10.5.1 Portal. It was too much effort to maintain 3 different versions of the scripts and moving forward the Python API will continue to wrap many things such as querying/authentication/updating...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main difference between online and portal, is the field names are lowercase due to the Postgres datastore. To use the Python API scripts, you'll have to install Conda. It appears that you're running this on a Raspberry Pi? You can install conda using a shell script from from&amp;nbsp;&lt;A href="https://repo.continuum.io/miniconda"&gt;https://repo.continuum.io/miniconda&lt;/A&gt;&amp;nbsp;for earlier raspberry Pi's you'll need the arm v6 for newer versions, you'll need arm v7.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally, we can look into adding the status field as an optional parameter to the import_assignments_from_csv.py script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Dec 2017 16:59:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-migrate-assignments-to-different-account/m-p/829404#M1035</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-12-16T16:59:03Z</dc:date>
    </item>
  </channel>
</rss>

