<?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 unable to batch load workorderid field in ArcGIS Workforce Questions</title>
    <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-unable-to-batch-load-workorderid-field/m-p/1077441#M2070</link>
    <description>&lt;P&gt;You need to use the correct argument name of &lt;EM&gt;work_order_id. &lt;/EM&gt;The assignment class is documented here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.apps.workforce.html#assignment" target="_blank"&gt;https://developers.arcgis.com/python/api-reference/arcgis.apps.workforce.html#assignment&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jul 2021 22:37:43 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-07-09T22:37:43Z</dc:date>
    <item>
      <title>Workforce unable to batch load workorderid field</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-unable-to-batch-load-workorderid-field/m-p/1077433#M2069</link>
      <description>&lt;P&gt;Hello!&amp;nbsp; I am trying to write a simple script that will batch create assignments from an existing feature class.&amp;nbsp; My existing feature class is using the GlobalID field as a primary key for linking to other data tables.&amp;nbsp; As a result I want to use the GlobalID field.&amp;nbsp; When I run my snippet of code in Jupyter Notebook it gives me an error:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="ansi-red-fg"&gt;TypeError&lt;/SPAN&gt;: __init__() got an unexpected keyword argument 'workorderid'&lt;/PRE&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ahagopian_coj_0-1625867311567.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/18136iAECCBD8B08B1063C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ahagopian_coj_0-1625867311567.png" alt="ahagopian_coj_0-1625867311567.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I did try to use other fields such as CustomerID and it threw the same error.&amp;nbsp; Very maddening!&amp;nbsp; Any hints or clues on what I am doing wrong?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 21:50:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-unable-to-batch-load-workorderid-field/m-p/1077433#M2069</guid>
      <dc:creator>ahagopian_coj</dc:creator>
      <dc:date>2021-07-09T21:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Workforce unable to batch load workorderid field</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/workforce-unable-to-batch-load-workorderid-field/m-p/1077441#M2070</link>
      <description>&lt;P&gt;You need to use the correct argument name of &lt;EM&gt;work_order_id. &lt;/EM&gt;The assignment class is documented here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/python/api-reference/arcgis.apps.workforce.html#assignment" target="_blank"&gt;https://developers.arcgis.com/python/api-reference/arcgis.apps.workforce.html#assignment&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 22:37:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/workforce-unable-to-batch-load-workorderid-field/m-p/1077441#M2070</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-07-09T22:37:43Z</dc:date>
    </item>
  </channel>
</rss>

