<?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: Assignment Monitor Python Script not working in ArcGIS Workforce Questions</title>
    <link>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828550#M1016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that works perfect.&amp;nbsp; I had just dug into the schema of the feature class and found the domain name when you replied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2018 15:14:54 GMT</pubDate>
    <dc:creator>LaneHartman</dc:creator>
    <dc:date>2018-11-16T15:14:54Z</dc:date>
    <item>
      <title>Assignment Monitor Python Script not working</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828544#M1010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I am configuring the assignment monitor python script and it seems to be hanging up on my organization URL.&amp;nbsp; I've tried at least 5 different versions of my URL (with &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;, without &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;, with a / at the end, without, etc).&amp;nbsp; The error I keep getting is below:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;(arcgispro-clone-new) C:\xxxx\assignment_monitor&amp;gt;python assignment_monitor.py&lt;BR /&gt;[2018-11-15 13:12:42,869] [ assignment_monitor.py: 155 - &amp;lt;module&amp;gt;()] [MainThread] [ root] [ INFO] Authenticating with ArcGIS Online...&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "assignment_monitor.py", line 159, in &amp;lt;module&amp;gt;&lt;BR /&gt; verify_cert=False)&lt;BR /&gt; File "C:\Users\Lane\AppData\Local\ESRI\conda\envs\arcgispro-clone-new\lib\site-packages\arcgis\gis\__init__.py", line 273, in __init__&lt;BR /&gt; raise Exception("Malformed url provided: %s" % url)&lt;BR /&gt;&lt;SPAN&gt;Exception: Malformed url provided: &amp;lt;&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;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2018 18:44:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828544#M1010</guid>
      <dc:creator>LaneHartman</dc:creator>
      <dc:date>2018-11-15T18:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment Monitor Python Script not working</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828545#M1011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;It looks like you might be putting the url inside the angle brackets. Try "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Farcgis.com" rel="nofollow" target="_blank"&gt;https://arcgis.com&lt;/A&gt;&lt;SPAN&gt;" instead of &amp;lt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Farcgis.com" rel="nofollow" target="_blank"&gt;https://arcgis.com&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;. The angle brackets are just meant to denote that it's a template that needs to be filled in. Hope that helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2018 19:02:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828545#M1011</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-11-15T19:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment Monitor Python Script not working</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828546#M1012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that, but still get the same error. It just replaces the angle brackets with the double quotes. Here is the full config.ini file for the assignment monitor Script in case I’m missing something else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# workforce/agol project id&lt;BR /&gt;[WORKFORCE]&lt;BR /&gt;PROJECT =&amp;nbsp;xxxxxxxxxxxxxxxxxxxxxxxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# slack webhook&lt;BR /&gt;[SLACK]&lt;BR /&gt;&lt;SPAN&gt;WEBHOOK = &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/hooks.slack.com/services/xxxxxxxxxxx/xxxxxxxx" rel="nofollow" target="_blank"&gt;https://hooks.slack.com/services/xxxxxxxxxxx/xxxxxxxx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# AGOL auth info&lt;BR /&gt;[AGOL]&lt;BR /&gt;&lt;SPAN&gt;ORG = "&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/xxxx.maps.arcgis.com" rel="nofollow" target="_blank"&gt;https://xxxx.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;USERNAME =&amp;nbsp;xxxxx&lt;BR /&gt;PASSWORD =&amp;nbsp;xxxxx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# log file&lt;BR /&gt;[LOG]&lt;BR /&gt;LOGFILE = log.txt&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[DB]&lt;BR /&gt;DATABASE = assignments.db&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Nov 2018 19:35:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828546#M1012</guid>
      <dc:creator>LaneHartman</dc:creator>
      <dc:date>2018-11-15T19:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment Monitor Python Script not working</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828547#M1013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh sorry, there also shouldn't be any quotes around it.&lt;/P&gt;&lt;P&gt;Here is my example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #808080;"&gt;# workforce/agol project id
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;[WORKFORCE]
&lt;/SPAN&gt;PROJECT = &lt;SPAN style="color: #6a8759;"&gt;7dc1bd9bdffe4adeb5adcafXXXXXXXXX
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;# slack webhook
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;[SLACK]
&lt;/SPAN&gt;WEBHOOK = &lt;SPAN style="color: #6a8759;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fhooks.slack.com%2Fservices%2F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" target="_blank"&gt;https://hooks.slack.com/services/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&lt;/A&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;# AGOL auth info
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;[AGOL]
&lt;/SPAN&gt;ORG = &lt;SPAN style="color: #6a8759;"&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Farcgis.com" target="_blank"&gt;https://arcgis.com&lt;/A&gt;
&lt;/SPAN&gt;USERNAME = &lt;SPAN style="color: #6a8759;"&gt;workforce_scripts
&lt;/SPAN&gt;PASSWORD = &lt;SPAN style="color: #6a8759;"&gt;password
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;# log file
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;[LOG]
&lt;/SPAN&gt;LOGFILE = &lt;SPAN style="color: #6a8759;"&gt;log.txt
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;[DB]
&lt;/SPAN&gt;DATABASE = &lt;SPAN style="color: #6a8759;"&gt;assignments.db&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:59:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828547#M1013</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T09:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment Monitor Python Script not working</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828548#M1014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the script works fine now. Is there a way to change the fields that appear in Slack?&amp;nbsp; I'd like to have the assignment type in there&amp;nbsp;also.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 14:29:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828548#M1014</guid>
      <dc:creator>LaneHartman</dc:creator>
      <dc:date>2018-11-16T14:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment Monitor Python Script not working</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828549#M1015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Awesome. Glad you got it working. You can modify the function in the script here:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/Esri/workforce-scripts/blob/master/scripts/assignment_monitor/assignment_monitor.py#L41" title="https://github.com/Esri/workforce-scripts/blob/master/scripts/assignment_monitor/assignment_monitor.py#L41" rel="nofollow noopener noreferrer" target="_blank"&gt;workforce-scripts/assignment_monitor.py at master · Esri/workforce-scripts · GitHub&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this would show the assignment type (haven't actually tested it).&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832;"&gt;def &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;post_to_slack&lt;/SPAN&gt;(slack_webhook&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;assignment):
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #629755;"&gt;"""
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Posts a message to slack
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #629755; font-weight: bold;"&gt;:param&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt; slack_webhook: (string) The url of the slack webhook
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #629755; font-weight: bold;"&gt;:param&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt; assignment: (Feature) The feature to use
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #629755; font-weight: bold;"&gt;:return&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;:
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; """
&lt;/SPAN&gt;&lt;SPAN style="color: #629755;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;# create the message to send
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;message = &lt;SPAN style="color: #6a8759;"&gt;"""
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Assignment Completed*:
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Assignment Type:* {}
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Location*: {}
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Description*: {}
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Notes*: {}
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Worker*: {}
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Time*: {}
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; *Link*: {}
&lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; """&lt;/SPAN&gt;.format(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; assignment.assignment_type.name&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;assignment.location&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;assignment.description&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;assignment.notes&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;assignment.worker.name&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;assignment.completed_date.strftime(&lt;SPAN style="color: #6a8759;"&gt;"%Y-%m-%d %H:%M"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #6a8759;"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fworkforce.arcgis.com%2Fprojects%2F" target="_blank"&gt;https://workforce.arcgis.com/projects/&lt;/A&gt;&lt;SPAN&gt;{}/dispatch/assignments/{}"&lt;/SPAN&gt;&lt;/SPAN&gt;.format(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; assignment.project.id&lt;SPAN style="color: #cc7832;"&gt;,
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;assignment.object_id
&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; logging.getLogger().info(&lt;SPAN style="color: #6a8759;"&gt;"Posting: {} to slack"&lt;/SPAN&gt;.format(inspect.cleandoc(message)))
&amp;nbsp;&amp;nbsp;&amp;nbsp; response = requests.post(slack_webhook&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;json&lt;/SPAN&gt;={&lt;SPAN style="color: #6a8759;"&gt;"text"&lt;/SPAN&gt;: inspect.cleandoc(message)})
&amp;nbsp;&amp;nbsp;&amp;nbsp; logging.getLogger().info(&lt;SPAN style="color: #6a8759;"&gt;"Status code: {}"&lt;/SPAN&gt;.format(response.status_code))&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:59:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828549#M1015</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T09:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment Monitor Python Script not working</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828550#M1016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that works perfect.&amp;nbsp; I had just dug into the schema of the feature class and found the domain name when you replied.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 15:14:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828550#M1016</guid>
      <dc:creator>LaneHartman</dc:creator>
      <dc:date>2018-11-16T15:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment Monitor Python Script not working</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828551#M1017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, the time field is 5 hours later than my current time in the Eastern Time zone which I assume is UTC.&amp;nbsp; Is there a way to display the time stamp in Slack as&amp;nbsp;the Eastern&amp;nbsp;time zone by modifying the assignment_monitor.py script?&amp;nbsp;I tried to modify Line&amp;nbsp;63 as shown below, but that didn't seem to have any effect on the output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assignment.completed_date.strftime("%Y-%m-%d %I:%M %p")&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 19:48:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828551#M1017</guid>
      <dc:creator>LaneHartman</dc:creator>
      <dc:date>2018-11-16T19:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Assignment Monitor Python Script not working</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828552#M1018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could try using the arrow module (you'll have to install it with pip/conda). This&amp;nbsp;should handle daylight saving and what not.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://arrow.readthedocs.io/en/latest/" title="https://arrow.readthedocs.io/en/latest/"&gt;Arrow: better dates and times for Python — Arrow 0.11.0 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you could do something like:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;d = arrow.get(assignment.completed_date)&lt;/P&gt;&lt;P&gt;eastern_date = d.to('US/Eastern')&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;eastern_date_string = eastern_date&lt;/SPAN&gt;.strftime("%Y-%m-%d %H:%M")&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2018 20:08:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/assignment-monitor-python-script-not-working/m-p/828552#M1018</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-11-16T20:08:32Z</dc:date>
    </item>
  </channel>
</rss>

