<?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: adjust all fields in column with same parameter (in loop) in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83765#M35001</link>
    <description>Haha. I literally do this all the time, and I still got stuck on the need for Set Collection Field with you. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;Cano Ai&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Oct 2020 13:09:00 GMT</pubDate>
    <dc:creator>david.l.morris</dc:creator>
    <dc:date>2020-10-06T13:09:00Z</dc:date>
    <item>
      <title>adjust all fields in column with same parameter (in loop)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83758#M34994</link>
      <description>Hi community,&lt;BR /&gt;&lt;BR /&gt;I want to do a very simple action where I put an " ' " in front of every value in a certain column. So let's say I have a columns named ID, which contains values as the following:&lt;BR /&gt;&lt;BR /&gt;ID&lt;BR /&gt;1234&lt;BR /&gt;2345&lt;BR /&gt;3456&lt;BR /&gt;&lt;BR /&gt;I want to adjust the vales in the following way:&lt;BR /&gt;&lt;BR /&gt;ID&lt;BR /&gt;'1234&lt;BR /&gt;'2345&lt;BR /&gt;
&lt;DIV&gt;'3456&lt;BR /&gt;&lt;BR /&gt;I am now looping through the collection and I adjust the value of a row. However, when I save this in the original collection, the counter in the loop is reset to row 1 (because for blueprism it seems that we have a 'new' collection). See attached for the flow. This means that in my current setup I would have to copy each row after processing to a new row. Which mean I would first have to copy to temp collection, and then an append to existing collection action.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This seems to be A LOT!!! of hassle for an extremely small requirement...... I just want to add an apostrof to each value in a column. Is there anyone with a suggestion on how to do this easily.&lt;BR /&gt;&lt;BR /&gt;Best,&lt;BR /&gt;Nanne&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nanne van der Wal&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2020 11:59:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83758#M34994</guid>
      <dc:creator>Nannevan_der_W1</dc:creator>
      <dc:date>2020-10-06T11:59:00Z</dc:date>
    </item>
    <item>
      <title>RE: adjust all fields in column with same parameter (in loop)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83759#M34995</link>
      <description>The counter shouldn't be reset. What's in your calculation stage? I would expect to see the expression as [rowcounter]+1 and store into rowcounter.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;Cano Ai&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2020 12:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83759#M34995</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2020-10-06T12:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: adjust all fields in column with same parameter (in loop)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83760#M34996</link>
      <description>The calculation stage indeed has a [rowcounter]+1 saved in [rowcounter]. This rowcounter is necessary for the row index input field for set collection field. But the problem is that when I save the updated colleciton in the original collection. The row in the loop is reset to row 1.&lt;BR /&gt;&lt;BR /&gt;So the counter is not reset, it is updated with plus one each time.&lt;BR /&gt;&lt;BR /&gt;I am looking for another way to get a ' for each value. There must be a simpler way&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nanne van der Wal&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2020 12:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83760#M34996</guid>
      <dc:creator>Nannevan_der_W1</dc:creator>
      <dc:date>2020-10-06T12:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: adjust all fields in column with same parameter (in loop)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83761#M34997</link>
      <description>Hmm, I guess I've never done the loop pattern as you're doing so it hasn't occurred to me that Set Collection Field would reset the loop. You might try removing the Loop stages entirely and using a manually created loop using Read Collection Field and then Set Collection Field. These would take the same rowcounter input.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;Cano Ai&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2020 12:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83761#M34997</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2020-10-06T12:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: adjust all fields in column with same parameter (in loop)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83762#M34998</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If I have understood your requirement correctly, the below should update the collection 'in place'&amp;nbsp; (Paste into an empty BP Process)&amp;nbsp; it should look like this:&lt;BR /&gt;&lt;BR /&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="23711.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/23844i6A85127636B758EB/image-size/large?v=v2&amp;amp;px=999" role="button" title="23711.png" alt="23711.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;&amp;lt;process name="__selection__Community collection"&amp;gt;&amp;lt;stage stageid="a0a61832-648a-4db7-86d6-32edfae7aacf" name="Start" type="Start"&amp;gt;&amp;lt;display x="15" y="-105" /&amp;gt;&amp;lt;onsuccess&amp;gt;3872c363-1adf-417f-bf93-1cae7821929e&amp;lt;/onsuccess&amp;gt;&amp;lt;/stage&amp;gt;&amp;lt;stage stageid="94dd51b1-fa77-47a1-9b98-40d1f15fc372" name="End" type="End"&amp;gt;&amp;lt;display x="15" y="120" /&amp;gt;&amp;lt;/stage&amp;gt;&amp;lt;stage stageid="6249d604-d3d9-4393-9a04-73ae2a695fc9" name="Collection" type="Collection"&amp;gt;&amp;lt;display x="-105" y="-45" w="90" h="60" /&amp;gt;&amp;lt;datatype&amp;gt;collection&amp;lt;/datatype&amp;gt;&amp;lt;private /&amp;gt;&amp;lt;alwaysinit /&amp;gt;&amp;lt;collectioninfo&amp;gt;&amp;lt;field name="ID" type="text" /&amp;gt;&amp;lt;/collectioninfo&amp;gt;&amp;lt;initialvalue&amp;gt;&amp;lt;row&amp;gt;&amp;lt;field name="ID" type="text" value="1234" /&amp;gt;&amp;lt;/row&amp;gt;&amp;lt;row&amp;gt;&amp;lt;field name="ID" type="text" value="2345" /&amp;gt;&amp;lt;/row&amp;gt;&amp;lt;row&amp;gt;&amp;lt;field name="ID" type="text" value="3456" /&amp;gt;&amp;lt;/row&amp;gt;&amp;lt;/initialvalue&amp;gt;&amp;lt;/stage&amp;gt;&amp;lt;stage stageid="f228dddc-cdfe-4513-bca1-724ce16c8577" name="Prefix" type="Data"&amp;gt;&amp;lt;loginhibit onsuccess="true" /&amp;gt;&amp;lt;display x="-90" y="45" w="90" h="60" /&amp;gt;&amp;lt;datatype&amp;gt;text&amp;lt;/datatype&amp;gt;&amp;lt;initialvalue xml:space="preserve"&amp;gt;'&amp;lt;/initialvalue&amp;gt;&amp;lt;private /&amp;gt;&amp;lt;alwaysinit /&amp;gt;&amp;lt;/stage&amp;gt;&amp;lt;stage stageid="3872c363-1adf-417f-bf93-1cae7821929e" name="Loop Collection" type="LoopStart"&amp;gt;&amp;lt;loginhibit onsuccess="true" /&amp;gt;&amp;lt;display x="15" y="-45" /&amp;gt;&amp;lt;onsuccess&amp;gt;92b62bb9-0fb2-4ab3-af6c-c8eca6aa296f&amp;lt;/onsuccess&amp;gt;&amp;lt;groupid&amp;gt;e94aeb6e-8d60-4962-8add-e79cb19fd8da&amp;lt;/groupid&amp;gt;&amp;lt;looptype&amp;gt;ForEach&amp;lt;/looptype&amp;gt;&amp;lt;loopdata&amp;gt;Collection&amp;lt;/loopdata&amp;gt;&amp;lt;/stage&amp;gt;&amp;lt;stage stageid="a7838465-1711-4814-bce4-eb153baf239e" name="Loop Collection" type="LoopEnd"&amp;gt;&amp;lt;loginhibit onsuccess="true" /&amp;gt;&amp;lt;display x="15" y="60" /&amp;gt;&amp;lt;onsuccess&amp;gt;94dd51b1-fa77-47a1-9b98-40d1f15fc372&amp;lt;/onsuccess&amp;gt;&amp;lt;groupid&amp;gt;e94aeb6e-8d60-4962-8add-e79cb19fd8da&amp;lt;/groupid&amp;gt;&amp;lt;/stage&amp;gt;&amp;lt;stage stageid="92b62bb9-0fb2-4ab3-af6c-c8eca6aa296f" name="Add Prefix" type="Calculation"&amp;gt;&amp;lt;loginhibit onsuccess="true" /&amp;gt;&amp;lt;display x="15" y="0" /&amp;gt;&amp;lt;onsuccess&amp;gt;a7838465-1711-4814-bce4-eb153baf239e&amp;lt;/onsuccess&amp;gt;&amp;lt;calculation expression="[Prefix] &amp;amp;amp; [Collection.ID]" stage="Collection.ID" /&amp;gt;&amp;lt;/stage&amp;gt;&amp;lt;/process&amp;gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Tim Grassam&lt;BR /&gt;Consulatant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2020 12:56:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83762#M34998</guid>
      <dc:creator>TimGrassam</dc:creator>
      <dc:date>2020-10-06T12:56:00Z</dc:date>
    </item>
    <item>
      <title>RE: adjust all fields in column with same parameter (in loop)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83763#M34999</link>
      <description>&lt;P&gt;Hi, Nanne,&lt;BR /&gt;&lt;BR /&gt;the solution is easy instead of calling Set Collection Field you put in calculation stage your formula:&lt;BR /&gt;"'"&amp;amp;[seriennummers.Seriennummer] and store it in [seriennummers.Seriennummer]. that's it! nothing else. You don't need any counter.&lt;BR /&gt;If you want to conditionally update it put the decision stage before calculation stage and that is it.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Zdeněk Kabátek&lt;BR /&gt;Head of Professional Services&lt;BR /&gt;NEOOPS&lt;BR /&gt;&lt;A href="http://www.neoops.com/" target="test_blank"&gt;http://www.neoops.com/&lt;/A&gt;&lt;BR /&gt;Europe/Prague&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2020 13:00:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83763#M34999</guid>
      <dc:creator>zdenek.kabatek</dc:creator>
      <dc:date>2020-10-06T13:00:00Z</dc:date>
    </item>
    <item>
      <title>RE: adjust all fields in column with same parameter (in loop)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83764#M35000</link>
      <description>Thank you all for the super fast usefull reactions!!!!&lt;BR /&gt;&lt;BR /&gt;Somehow my line of thought was stuck in thinking I would neet the Set Collection field action to make adjustments. But this is great, and so obvious..........&lt;BR /&gt;&lt;BR /&gt;Thanks all!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Nanne van der Wal&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2020 13:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83764#M35000</guid>
      <dc:creator>Nannevan_der_W1</dc:creator>
      <dc:date>2020-10-06T13:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: adjust all fields in column with same parameter (in loop)</title>
      <link>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83765#M35001</link>
      <description>Haha. I literally do this all the time, and I still got stuck on the need for Set Collection Field with you. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;Cano Ai&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Oct 2020 13:09:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/adjust-all-fields-in-column-with-same-parameter-in-loop/m-p/83765#M35001</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2020-10-06T13:09:00Z</dc:date>
    </item>
  </channel>
</rss>

