<?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: Dynamic Match Type in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Dynamic-Match-Type/m-p/111077#M3565</link>
    <description>&lt;P&gt;Thank you -- it did not quite work but I love the idea and I will keep trying with this approach.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2024 20:35:37 GMT</pubDate>
    <dc:creator>cstull</dc:creator>
    <dc:date>2024-05-31T20:35:37Z</dc:date>
    <item>
      <title>Dynamic Match Type</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Dynamic-Match-Type/m-p/111070#M3563</link>
      <description>&lt;P&gt;I'm leveraging a dynamic match type for a series of web input fields where I can not predict the total # of fields.&lt;BR /&gt;&lt;BR /&gt;For instance, there at 3 input fields with a WebID of Field1, Field2, &amp;amp; Field3 -- sometimes there will be 1 field and upto 200.&lt;BR /&gt;&lt;BR /&gt;I want to loop through each field using a dynamic match type on Web ID and validate if the field actually exists.&lt;BR /&gt;&lt;BR /&gt;How can I determine if the App Modeller Element exists or not?&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 17:36:38 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Dynamic-Match-Type/m-p/111070#M3563</guid>
      <dc:creator>cstull</dc:creator>
      <dc:date>2024-05-31T17:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Match Type</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Dynamic-Match-Type/m-p/111076#M3564</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/56889"&gt;@cstull&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the fields are numbered consecutively and they appear in the page's HTML one after another, there is a couple of quick ways determine what is the current last field.&lt;/P&gt;&lt;P&gt;The way I would not recommend is create an element with the attributes of &lt;STRONG&gt;Match Reverse&lt;/STRONG&gt;, with a &lt;STRONG&gt;Match Index of 1&lt;/STRONG&gt; and put a wildcard on the &lt;STRONG&gt;Web Id&lt;/STRONG&gt; attribute (Field*).&lt;/P&gt;&lt;P&gt;The way I would recommend is create an element that uses an XPath expression the would give you the last element that matches those IDs:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;(//input[starts-with(@id,'Field')])[last()]&lt;/LI-CODE&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichealCharron_0-1717182989068.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38378i1FE3113208A0047B/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="MichealCharron_0-1717182989068.png" alt="MichealCharron_0-1717182989068.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;With either method above, you can then use the&amp;nbsp;&lt;STRONG&gt;Get ID&lt;/STRONG&gt; action in a read stage to retrieve the ID of the that last element to parse out the number of fields.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichealCharron_1-1717183353398.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38379i53452863D72C6586/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="MichealCharron_1-1717183353398.png" alt="MichealCharron_1-1717183353398.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MichealCharron_2-1717183379037.png" style="width: 400px;"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/38380i957F2256CF064490/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="MichealCharron_2-1717183379037.png" alt="MichealCharron_2-1717183379037.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 19:24:11 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Dynamic-Match-Type/m-p/111076#M3564</guid>
      <dc:creator>MichealCharron</dc:creator>
      <dc:date>2024-05-31T19:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Match Type</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Dynamic-Match-Type/m-p/111077#M3565</link>
      <description>&lt;P&gt;Thank you -- it did not quite work but I love the idea and I will keep trying with this approach.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2024 20:35:37 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Dynamic-Match-Type/m-p/111077#M3565</guid>
      <dc:creator>cstull</dc:creator>
      <dc:date>2024-05-31T20:35:37Z</dc:date>
    </item>
  </channel>
</rss>

