<?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 Survey123 Create Report Automation Failing in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-create-report-automation-failing/m-p/1374383#M54295</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to set up a&amp;nbsp;&lt;SPAN&gt;Power Automate flow with the Create Report function using a custom connector from our ArcGIS Enterprise 11.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, after trying everything from &lt;A href="https://community.esri.com/t5/arcgis-survey123-videos/survey123-tricks-of-the-trade-live-automate/td-p/1306311" target="_self"&gt;this tutorial&lt;/A&gt;, I am still receiving an error at the "Upload file from URL"&amp;nbsp; (3rd step). Does anyone know how to overcome it? Or if there is a workaround?&lt;/P&gt;&lt;P&gt;I also found &lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/survey123-create-report-action-failing/td-p/1300677" target="_self"&gt;this thread&lt;/A&gt; in the community, but since I am a Power Automate novice, I wasn't able to follow all the steps.&lt;/P&gt;&lt;P&gt;My custom connector is working because I use it in another flow where I populate a predefined Word file with data from Survey123 and is refreshed every 14 days due to the token expiration date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is how my flow is currently structured:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MariusVerdes_0-1706195096287.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92781i66195CFE09462165/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MariusVerdes_0-1706195096287.png" alt="MariusVerdes_0-1706195096287.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MariusVerdes_1-1706195137496.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92782iA46C8621CD8069AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MariusVerdes_1-1706195137496.png" alt="MariusVerdes_1-1706195137496.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MariusVerdes_2-1706195164196.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92783iCE60132BE3CBA00D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MariusVerdes_2-1706195164196.png" alt="MariusVerdes_2-1706195164196.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jan 2024 15:16:25 GMT</pubDate>
    <dc:creator>MariusVerdes</dc:creator>
    <dc:date>2024-01-25T15:16:25Z</dc:date>
    <item>
      <title>Survey123 Create Report Automation Failing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-create-report-automation-failing/m-p/1374383#M54295</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I'm trying to set up a&amp;nbsp;&lt;SPAN&gt;Power Automate flow with the Create Report function using a custom connector from our ArcGIS Enterprise 11.1.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;However, after trying everything from &lt;A href="https://community.esri.com/t5/arcgis-survey123-videos/survey123-tricks-of-the-trade-live-automate/td-p/1306311" target="_self"&gt;this tutorial&lt;/A&gt;, I am still receiving an error at the "Upload file from URL"&amp;nbsp; (3rd step). Does anyone know how to overcome it? Or if there is a workaround?&lt;/P&gt;&lt;P&gt;I also found &lt;A href="https://community.esri.com/t5/arcgis-survey123-questions/survey123-create-report-action-failing/td-p/1300677" target="_self"&gt;this thread&lt;/A&gt; in the community, but since I am a Power Automate novice, I wasn't able to follow all the steps.&lt;/P&gt;&lt;P&gt;My custom connector is working because I use it in another flow where I populate a predefined Word file with data from Survey123 and is refreshed every 14 days due to the token expiration date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is how my flow is currently structured:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MariusVerdes_0-1706195096287.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92781i66195CFE09462165/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MariusVerdes_0-1706195096287.png" alt="MariusVerdes_0-1706195096287.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MariusVerdes_1-1706195137496.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92782iA46C8621CD8069AA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MariusVerdes_1-1706195137496.png" alt="MariusVerdes_1-1706195137496.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MariusVerdes_2-1706195164196.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92783iCE60132BE3CBA00D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MariusVerdes_2-1706195164196.png" alt="MariusVerdes_2-1706195164196.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 15:16:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-create-report-automation-failing/m-p/1374383#M54295</guid>
      <dc:creator>MariusVerdes</dc:creator>
      <dc:date>2024-01-25T15:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Create Report Automation Failing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-create-report-automation-failing/m-p/1374405#M54300</link>
      <description>&lt;P&gt;I have 2 recommendations.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1.&lt;/STRONG&gt; To resolve your report issue, maybe try an HTTP Get after the report generation. Then, Use that HTTP step to upload:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_4-1706196592945.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92789iA8774B6BC5B53DDF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_4-1706196592945.png" alt="abureaux_4-1706196592945.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my example, I am uploading to SharePoint. You can just replace that with One Drive.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;2.&lt;/STRONG&gt; The Create Report step is a self-contained Do Until. It will always "Do Until" a report is created. The issue is that it &lt;EM&gt;always &lt;/EM&gt;succeeds even if report generation fails. As such, I would add this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_5-1706196692725.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92791i01614E970A457E31/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_5-1706196692725.png" alt="abureaux_5-1706196692725.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Just be sure to choose this "status":&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_6-1706196731510.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92792i415AD3C459040F56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_6-1706196731510.png" alt="abureaux_6-1706196731510.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then, use a Condition. You want all of your flows "bulk" to be in the "yes" side of this condition.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_7-1706196760512.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/92793i28480F3F77C80FC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_7-1706196760512.png" alt="abureaux_7-1706196760512.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is a simplified version of my flow, but really the most important parts.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jan 2024 15:33:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-create-report-automation-failing/m-p/1374405#M54300</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-01-25T15:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: Survey123 Create Report Automation Failing</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/survey123-create-report-automation-failing/m-p/1374813#M54352</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/454586"&gt;@abureaux&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;BR /&gt;Thanks for the suggestion. But when I try to replicate your first recommendation Power Automate automatically adds a "for each" condition to the HHTP GET (I use the "url" from the create report action to populate the field). Do you know why and how I can work around it?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2024 13:47:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/survey123-create-report-automation-failing/m-p/1374813#M54352</guid>
      <dc:creator>MariusVerdes</dc:creator>
      <dc:date>2024-01-26T13:47:50Z</dc:date>
    </item>
  </channel>
</rss>

