<?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 Practical GIS automation for non-IT users in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/practical-gis-automation-for-non-it-users/m-p/1166087#M32997</link>
    <description>&lt;P&gt;I'm a data owner in an Oracle 18c GDB, but I'm not in I.T.&lt;/P&gt;&lt;P&gt;I'm looking for server-based &lt;U&gt;scheduled automation options&lt;/U&gt; that I can &lt;U&gt;manage myself&lt;/U&gt;, instead of waiting on IT for every little thing.&lt;/P&gt;&lt;P&gt;Requirements:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Weekly: Scheduled emailed notifications (&lt;A href="https://www.mavenasset.com/four-maximo-stress-busters/#:~:text=Schedule%20and%20send%20frequently%2Drun%20reports" target="_self"&gt;IBM example&lt;/A&gt; -- available to all users)&lt;OL class="lia-list-style-type-lower-alpha"&gt;&lt;LI&gt;GIS use case: If there are any construction projects in a FC where the &lt;U&gt;status is FUTURE and the date is &amp;lt; sysdate&lt;/U&gt;, then send me an email. Those records are out-of-date and need investigation.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Nightly: Scheduled jobs to pre-compute fields and tables (&lt;A href="https://bportaluri.com/wp-content/uploads/2019/08/Escalation.png" target="_self"&gt;IBM example&lt;/A&gt;&amp;nbsp;-- available to power users)&lt;OL class="lia-list-style-type-lower-alpha"&gt;&lt;LI&gt;GIS use case: Precompute a HAS_CURVES field in a polyline FC, since we can't get that information via Arcade attribute rules or SDE.ST_GEOMETRY.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;HR /&gt;&lt;P&gt;Esri options:&lt;/P&gt;&lt;P&gt;If I understand correctly, the current Esri automation offerings don't fit this use case:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS Notebook Server is generally only used by IT staff. That might not be true for &lt;U&gt;&lt;EM&gt;all&lt;/EM&gt;&lt;/U&gt; organizations, but it is for mine...and that's beyond my control.&lt;/LI&gt;&lt;LI&gt;WebHooks are intended for IT staff, not available to power users like me.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.8/help/analysis/geoprocessing/basics/schedule-geoprocessing-tools.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;Scheduled geoprocessing tools&lt;/A&gt;&amp;nbsp;are run on the user's local PC and are only run when the PC is turned on and logged in. That's not what I want. I'm looking for something more robust/long-term; something that's server-based.&lt;/LI&gt;&lt;LI&gt;My organization doesn't have any 3rd-party automation tools like FME.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;P&gt;So, I've come up with some alternative ideas for solving requirements #1 &amp;amp; #2 above:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Weekly: &lt;U&gt;Scheduled emailed notifications&lt;/U&gt;&lt;BR /&gt;&lt;OL class="lia-list-style-type-lower-roman"&gt;&lt;LI&gt;Create a table in the Oracle GDB called SKD_NOTIFICATIONS.&lt;UL&gt;&lt;LI&gt;Fields: VIEW_NAME, RECIPIENTS (comma delimited)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Create db views to query for rows:&lt;UL&gt;&lt;LI&gt;CONST_PROJ_ISSUES_VW: Select construction projects in a FC where the &lt;U&gt;status is FUTURE and the date is &amp;lt; sysdate&lt;/U&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Create a Python script that would loop through each record in&amp;nbsp;SKD_NOTIFICATIONS. For each record, if the corresponding db view has any rows, then send the recipients a notification email: &lt;EM&gt;"There are records in CONST_PROJ_ISSUES_VW that need to be investigated."&lt;/EM&gt;&lt;UL&gt;&lt;LI&gt;Link:&amp;nbsp;&lt;A href="https://realpython.com/python-send-email/#:~:text=Python%20comes%20with%20the%20built%2Din" target="_self"&gt;Sending Emails With Python&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IT:&lt;/STRONG&gt; Set up a scheduled job on the GIS server (using Windows Task Scheduler) that would run the Python script on a weekly schedule.&lt;UL&gt;&lt;LI&gt;The Python script would use a .SDE connection on the GIS server to connect to the GDB.&lt;/LI&gt;&lt;LI&gt;Alternatively, if IT doesn't like the Python option, then we could re-write the script as a PL/SQL procedure and use Oracle Scheduler to run it on a schedule.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IT:&lt;/STRONG&gt; Configure SMTP Server so that the script can send emails via MS Outlook Exchange or Office 365.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Complete.&lt;/STRONG&gt;&amp;nbsp;The steps above would be used to send GIS email notifications on a weekly schedule.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Nightly: &lt;U&gt;Scheduled jobs to pre-compute fields and tables&lt;/U&gt;&lt;OL class="lia-list-style-type-lower-roman"&gt;&lt;LI&gt;&lt;STRONG&gt;IT:&lt;/STRONG&gt; Create a shared network folder on the GIS server (I'd have write access).&lt;/LI&gt;&lt;LI&gt;Create Python scripts in the folder that precompute GIS fields and tables.&lt;UL&gt;&lt;LI&gt;Example:&amp;nbsp;Precompute a HAS_CURVES field in a polyline FC.&lt;/LI&gt;&lt;LI&gt;The Python scripts would use a .SDE connection on the GIS server to connect to the GDB.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IT:&lt;/STRONG&gt; Set up a scheduled job on the GIS server (using Windows Task Scheduler) that would loop through the Python scripts in the folder and run them.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Complete.&lt;/STRONG&gt; The steps above would be used to pre-compute data on a weekly schedule.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;HR /&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;Does anyone have experience with that kind of thing? Would either of those ideas work?&lt;BR /&gt;Or can you think of something better?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2022 13:36:23 GMT</pubDate>
    <dc:creator>Bud</dc:creator>
    <dc:date>2022-04-20T13:36:23Z</dc:date>
    <item>
      <title>Practical GIS automation for non-IT users</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/practical-gis-automation-for-non-it-users/m-p/1166087#M32997</link>
      <description>&lt;P&gt;I'm a data owner in an Oracle 18c GDB, but I'm not in I.T.&lt;/P&gt;&lt;P&gt;I'm looking for server-based &lt;U&gt;scheduled automation options&lt;/U&gt; that I can &lt;U&gt;manage myself&lt;/U&gt;, instead of waiting on IT for every little thing.&lt;/P&gt;&lt;P&gt;Requirements:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Weekly: Scheduled emailed notifications (&lt;A href="https://www.mavenasset.com/four-maximo-stress-busters/#:~:text=Schedule%20and%20send%20frequently%2Drun%20reports" target="_self"&gt;IBM example&lt;/A&gt; -- available to all users)&lt;OL class="lia-list-style-type-lower-alpha"&gt;&lt;LI&gt;GIS use case: If there are any construction projects in a FC where the &lt;U&gt;status is FUTURE and the date is &amp;lt; sysdate&lt;/U&gt;, then send me an email. Those records are out-of-date and need investigation.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Nightly: Scheduled jobs to pre-compute fields and tables (&lt;A href="https://bportaluri.com/wp-content/uploads/2019/08/Escalation.png" target="_self"&gt;IBM example&lt;/A&gt;&amp;nbsp;-- available to power users)&lt;OL class="lia-list-style-type-lower-alpha"&gt;&lt;LI&gt;GIS use case: Precompute a HAS_CURVES field in a polyline FC, since we can't get that information via Arcade attribute rules or SDE.ST_GEOMETRY.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;HR /&gt;&lt;P&gt;Esri options:&lt;/P&gt;&lt;P&gt;If I understand correctly, the current Esri automation offerings don't fit this use case:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ArcGIS Notebook Server is generally only used by IT staff. That might not be true for &lt;U&gt;&lt;EM&gt;all&lt;/EM&gt;&lt;/U&gt; organizations, but it is for mine...and that's beyond my control.&lt;/LI&gt;&lt;LI&gt;WebHooks are intended for IT staff, not available to power users like me.&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/2.8/help/analysis/geoprocessing/basics/schedule-geoprocessing-tools.htm" target="_blank" rel="nofollow noopener noreferrer"&gt;Scheduled geoprocessing tools&lt;/A&gt;&amp;nbsp;are run on the user's local PC and are only run when the PC is turned on and logged in. That's not what I want. I'm looking for something more robust/long-term; something that's server-based.&lt;/LI&gt;&lt;LI&gt;My organization doesn't have any 3rd-party automation tools like FME.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;HR /&gt;&lt;P&gt;So, I've come up with some alternative ideas for solving requirements #1 &amp;amp; #2 above:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Weekly: &lt;U&gt;Scheduled emailed notifications&lt;/U&gt;&lt;BR /&gt;&lt;OL class="lia-list-style-type-lower-roman"&gt;&lt;LI&gt;Create a table in the Oracle GDB called SKD_NOTIFICATIONS.&lt;UL&gt;&lt;LI&gt;Fields: VIEW_NAME, RECIPIENTS (comma delimited)&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Create db views to query for rows:&lt;UL&gt;&lt;LI&gt;CONST_PROJ_ISSUES_VW: Select construction projects in a FC where the &lt;U&gt;status is FUTURE and the date is &amp;lt; sysdate&lt;/U&gt;.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;Create a Python script that would loop through each record in&amp;nbsp;SKD_NOTIFICATIONS. For each record, if the corresponding db view has any rows, then send the recipients a notification email: &lt;EM&gt;"There are records in CONST_PROJ_ISSUES_VW that need to be investigated."&lt;/EM&gt;&lt;UL&gt;&lt;LI&gt;Link:&amp;nbsp;&lt;A href="https://realpython.com/python-send-email/#:~:text=Python%20comes%20with%20the%20built%2Din" target="_self"&gt;Sending Emails With Python&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IT:&lt;/STRONG&gt; Set up a scheduled job on the GIS server (using Windows Task Scheduler) that would run the Python script on a weekly schedule.&lt;UL&gt;&lt;LI&gt;The Python script would use a .SDE connection on the GIS server to connect to the GDB.&lt;/LI&gt;&lt;LI&gt;Alternatively, if IT doesn't like the Python option, then we could re-write the script as a PL/SQL procedure and use Oracle Scheduler to run it on a schedule.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IT:&lt;/STRONG&gt; Configure SMTP Server so that the script can send emails via MS Outlook Exchange or Office 365.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Complete.&lt;/STRONG&gt;&amp;nbsp;The steps above would be used to send GIS email notifications on a weekly schedule.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Nightly: &lt;U&gt;Scheduled jobs to pre-compute fields and tables&lt;/U&gt;&lt;OL class="lia-list-style-type-lower-roman"&gt;&lt;LI&gt;&lt;STRONG&gt;IT:&lt;/STRONG&gt; Create a shared network folder on the GIS server (I'd have write access).&lt;/LI&gt;&lt;LI&gt;Create Python scripts in the folder that precompute GIS fields and tables.&lt;UL&gt;&lt;LI&gt;Example:&amp;nbsp;Precompute a HAS_CURVES field in a polyline FC.&lt;/LI&gt;&lt;LI&gt;The Python scripts would use a .SDE connection on the GIS server to connect to the GDB.&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;IT:&lt;/STRONG&gt; Set up a scheduled job on the GIS server (using Windows Task Scheduler) that would loop through the Python scripts in the folder and run them.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Complete.&lt;/STRONG&gt; The steps above would be used to pre-compute data on a weekly schedule.&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;HR /&gt;&lt;P&gt;Questions:&lt;/P&gt;&lt;P&gt;Does anyone have experience with that kind of thing? Would either of those ideas work?&lt;BR /&gt;Or can you think of something better?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2022 13:36:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/practical-gis-automation-for-non-it-users/m-p/1166087#M32997</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-04-20T13:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Practical GIS automation for non-IT users</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/practical-gis-automation-for-non-it-users/m-p/1198486#M33646</link>
      <description>&lt;P&gt;Related:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/use-power-automate-to-send-scheduled-emailed-gis/m-p/1162788#M53853" target="_self"&gt;Use Power Automate to send scheduled emailed GIS notifications?&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://community.esri.com/t5/arcgis-pro-questions/send-me-an-email-telling-me-if-my-geoprocessing/m-p/1160969#M53636" target="_self"&gt;Send me an email telling me if my geoprocessing task failed or was successful&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 02 Aug 2022 13:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/practical-gis-automation-for-non-it-users/m-p/1198486#M33646</guid>
      <dc:creator>Bud</dc:creator>
      <dc:date>2022-08-02T13:24:44Z</dc:date>
    </item>
  </channel>
</rss>

