<?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 Populating NA in Microsoft Lists using Power Automate from blank Survey 123 fields in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/populating-na-in-microsoft-lists-using-power/m-p/1403667#M55867</link>
    <description>&lt;P&gt;I am creating a Microsoft List database from the submissions from my Survery123 form. I currently have a Survey123 triggered Power Automated Flow set up where, samples with more than one replicate (each have their own unique replicate name) are their own line item. I want to have these lines updated to populate NA in fields that are left blank in the Survey123 Form. I have figured out the flow for samples with only one replicate but am having issues with the repeated attributes for replicates more than 1. I have attached a copy of my Survey 123 form XLSX as well as some screen shots for my existing flow.&lt;/P&gt;&lt;P&gt;I know that these NAs should populate using the conditional step where &amp;lt;blank field&amp;gt; is equal to null. However, I believe the issue is lying within the Apply to Each step, as I cannot figure out which dynamic content to choose to make the flow identify the replicate names. I have tried using the dynamic content "feature repeats Replicate Information attributes Field Replicate Name" as this is the only unique identifier between replicate samples. However, when selecting this option in the Apply to Each step, this specific dynamic content no longer becomes available in the Sharepoint Update Items step.&lt;/P&gt;&lt;P&gt;I do not want to alter my Survey123 form to have NA as a default answer if this can be avoided, as I will have other Survey 123 forms that will eventually feed into this Power Automated Flow in the future.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Apr 2024 02:27:32 GMT</pubDate>
    <dc:creator>spf999</dc:creator>
    <dc:date>2024-04-01T02:27:32Z</dc:date>
    <item>
      <title>Populating NA in Microsoft Lists using Power Automate from blank Survey 123 fields</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/populating-na-in-microsoft-lists-using-power/m-p/1403667#M55867</link>
      <description>&lt;P&gt;I am creating a Microsoft List database from the submissions from my Survery123 form. I currently have a Survey123 triggered Power Automated Flow set up where, samples with more than one replicate (each have their own unique replicate name) are their own line item. I want to have these lines updated to populate NA in fields that are left blank in the Survey123 Form. I have figured out the flow for samples with only one replicate but am having issues with the repeated attributes for replicates more than 1. I have attached a copy of my Survey 123 form XLSX as well as some screen shots for my existing flow.&lt;/P&gt;&lt;P&gt;I know that these NAs should populate using the conditional step where &amp;lt;blank field&amp;gt; is equal to null. However, I believe the issue is lying within the Apply to Each step, as I cannot figure out which dynamic content to choose to make the flow identify the replicate names. I have tried using the dynamic content "feature repeats Replicate Information attributes Field Replicate Name" as this is the only unique identifier between replicate samples. However, when selecting this option in the Apply to Each step, this specific dynamic content no longer becomes available in the Sharepoint Update Items step.&lt;/P&gt;&lt;P&gt;I do not want to alter my Survey123 form to have NA as a default answer if this can be avoided, as I will have other Survey 123 forms that will eventually feed into this Power Automated Flow in the future.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you in advance!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 02:27:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/populating-na-in-microsoft-lists-using-power/m-p/1403667#M55867</guid>
      <dc:creator>spf999</dc:creator>
      <dc:date>2024-04-01T02:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Populating NA in Microsoft Lists using Power Automate from blank Survey 123 fields</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/populating-na-in-microsoft-lists-using-power/m-p/1404617#M55905</link>
      <description>&lt;P&gt;What fields in the XLSX are you trying to work with specifically?&lt;/P&gt;&lt;P&gt;Right now, I'm thinking you have two main options:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In S123, you can use coalesce() to add the "NA" within S123 so your fields always have data. This could simplify your PA process. E.g., &lt;STRONG&gt;coalesce('NA',${replicate_field})&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;In PA, you can use an expression to test a field for null and conditionally add data. E.g.,&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;if(empty(&lt;/FONT&gt;&lt;FONT color="#3366FF"&gt;triggerOutputs()?['body/feature/attributes/example1']&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;,'NA',&lt;/FONT&gt;&lt;FONT color="#3366FF"&gt;triggerOutputs()?['body/feature/attributes/example1']&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;)&lt;BR /&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;EM&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt;EDIT: I realized that the PA expression probably doesn't make a lot of sense if you've never seen it before, so I added coloring. In your case,&lt;/FONT&gt; Red&lt;FONT color="#3366FF"&gt;&lt;FONT color="#000000"&gt;=Universal (don't change) and&lt;/FONT&gt; Blue&lt;FONT color="#000000"&gt;=Dynamic (change these to be your desired fields).&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_0-1712068360195.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99751iB91B82639CFDD415/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_0-1712068360195.png" alt="abureaux_0-1712068360195.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="abureaux_1-1712068463746.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/99752i317E86E60FA29D28/image-size/medium?v=v2&amp;amp;px=400" role="button" title="abureaux_1-1712068463746.png" alt="abureaux_1-1712068463746.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 02 Apr 2024 14:37:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/populating-na-in-microsoft-lists-using-power/m-p/1404617#M55905</guid>
      <dc:creator>abureaux</dc:creator>
      <dc:date>2024-04-02T14:37:37Z</dc:date>
    </item>
  </channel>
</rss>

