<?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 I've a scenario where I want to generate a sequential number and facing a challenge as mentioned below. in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/I-ve-a-scenario-where-I-want-to-generate-a-sequential-number-and/m-p/55961#M10223</link>
    <description>I have a scenario where I want to generate a sequential number and facing a challenge as mentioned below.&lt;BR /&gt;&lt;BR /&gt;I have a 10 digit number with preceding zeroes for e.g. 0000000001 and I want to increment it by 1 so my result should be 0000000002 and so and so on. It's quite simple to increment number with calc stage but with blue prism, it removes the leading zero by default when I increment. Since leading zero to number is useless when doing ToNumber and increment blue prism gives output as "2" but I want output as "0000000002".&lt;BR /&gt;&lt;BR /&gt;This is quite obvious behavior but how can I achieve this use case using blue prism?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. RPA Consultant-Automation Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 20 Jul 2021 13:17:00 GMT</pubDate>
    <dc:creator>Tejaskumar_Darji</dc:creator>
    <dc:date>2021-07-20T13:17:00Z</dc:date>
    <item>
      <title>I've a scenario where I want to generate a sequential number and facing a challenge as mentioned below.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/I-ve-a-scenario-where-I-want-to-generate-a-sequential-number-and/m-p/55961#M10223</link>
      <description>I have a scenario where I want to generate a sequential number and facing a challenge as mentioned below.&lt;BR /&gt;&lt;BR /&gt;I have a 10 digit number with preceding zeroes for e.g. 0000000001 and I want to increment it by 1 so my result should be 0000000002 and so and so on. It's quite simple to increment number with calc stage but with blue prism, it removes the leading zero by default when I increment. Since leading zero to number is useless when doing ToNumber and increment blue prism gives output as "2" but I want output as "0000000002".&lt;BR /&gt;&lt;BR /&gt;This is quite obvious behavior but how can I achieve this use case using blue prism?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. RPA Consultant-Automation Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jul 2021 13:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/I-ve-a-scenario-where-I-want-to-generate-a-sequential-number-and/m-p/55961#M10223</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2021-07-20T13:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: I've a scenario where I want to generate a sequential number and facing a challenge as mentioned below.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/I-ve-a-scenario-where-I-want-to-generate-a-sequential-number-and/m-p/55962#M10224</link>
      <description>Hi TejasKumar,&lt;BR /&gt;if you can accept the result as a text then use the below VB code&lt;BR /&gt;&lt;BR /&gt;Decimal add = input + 1;&lt;BR /&gt;result = add.ToString("000000000");&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="20646.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/20791i2CDBBD4AD14C6CF2/image-size/large?v=v2&amp;amp;px=999" role="button" title="20646.png" alt="20646.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jerin Jose&lt;BR /&gt;RPA Product SME&lt;BR /&gt;EY&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;*"If you find  this post helpful mark it as best answer, .*&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jul 2021 16:26:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/I-ve-a-scenario-where-I-want-to-generate-a-sequential-number-and/m-p/55962#M10224</guid>
      <dc:creator>JerinJose</dc:creator>
      <dc:date>2021-07-20T16:26:00Z</dc:date>
    </item>
    <item>
      <title>RE: I've a scenario where I want to generate a sequential number and facing a challenge as mentioned below.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/I-ve-a-scenario-where-I-want-to-generate-a-sequential-number-and/m-p/55963#M10225</link>
      <description>Thanks for the answer. But my string length would change if my input is 0000000009 and the next increment would make it 10 and then code adds leading 9 zeroes resulting string be 11 lengths instead of 10.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Tejaskumar Darji&lt;BR /&gt;Sr. RPA Consultant-Automation Developer&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jul 2021 17:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/I-ve-a-scenario-where-I-want-to-generate-a-sequential-number-and/m-p/55963#M10225</guid>
      <dc:creator>Tejaskumar_Darji</dc:creator>
      <dc:date>2021-07-20T17:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: I've a scenario where I want to generate a sequential number and facing a challenge as mentioned below.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/I-ve-a-scenario-where-I-want-to-generate-a-sequential-number-and/m-p/55964#M10226</link>
      <description>Try using the PadLeft action in Utility - Strings. You can specify how long you want the string to be as well as the character you want to pad the string with.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Patrick Aucoin&lt;BR /&gt;Product Manager&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Jul 2021 19:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/I-ve-a-scenario-where-I-want-to-generate-a-sequential-number-and/m-p/55964#M10226</guid>
      <dc:creator>PatrickAucoin</dc:creator>
      <dc:date>2021-07-20T19:39:00Z</dc:date>
    </item>
  </channel>
</rss>

