<?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 Global variable in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62896#M15927</link>
    <description>​​Hi Folks,&lt;BR /&gt;&lt;BR /&gt;I try to create a global variable that I will use as Request ID increasing the value + 1 when new request arrives.&lt;BR /&gt;This last ID number should be read from database and stored. &lt;BR /&gt;&lt;BR /&gt;Environmental variable cannot be updated from the process / object Studio.&lt;BR /&gt;&lt;BR /&gt;How can I manage it in the easiest way?&lt;BR /&gt;&lt;BR /&gt;Thanks and regards,&lt;BR /&gt;Radoslaw&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Radoslaw Rajnert&lt;BR /&gt;Financial Systems Expert&lt;BR /&gt;Telefonica OHG&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 03 Dec 2019 06:24:00 GMT</pubDate>
    <dc:creator>radoslawrajnert</dc:creator>
    <dc:date>2019-12-03T06:24:00Z</dc:date>
    <item>
      <title>Global variable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62896#M15927</link>
      <description>​​Hi Folks,&lt;BR /&gt;&lt;BR /&gt;I try to create a global variable that I will use as Request ID increasing the value + 1 when new request arrives.&lt;BR /&gt;This last ID number should be read from database and stored. &lt;BR /&gt;&lt;BR /&gt;Environmental variable cannot be updated from the process / object Studio.&lt;BR /&gt;&lt;BR /&gt;How can I manage it in the easiest way?&lt;BR /&gt;&lt;BR /&gt;Thanks and regards,&lt;BR /&gt;Radoslaw&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Radoslaw Rajnert&lt;BR /&gt;Financial Systems Expert&lt;BR /&gt;Telefonica OHG&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2019 06:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62896#M15927</guid>
      <dc:creator>radoslawrajnert</dc:creator>
      <dc:date>2019-12-03T06:24:00Z</dc:date>
    </item>
    <item>
      <title>RE: Global variable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62897#M15928</link>
      <description>You can use credentials instead of environment variables for that purpose. Get Credential -&amp;gt; ToNumber, +1 and cast back to text -&amp;gt; Set Credential&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jeroen Oosterholt&lt;BR /&gt;Automation Designer&lt;BR /&gt;DHL&lt;BR /&gt;Maastricht&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2019 06:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62897#M15928</guid>
      <dc:creator>JeroenOosterhol</dc:creator>
      <dc:date>2019-12-03T06:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Global variable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62898#M15929</link>
      <description>​Hi Radoslaw,&lt;BR /&gt;&lt;BR /&gt;if you are looking at multiple bots processing the incoming requests its difficult to achieve.&lt;BR /&gt;&lt;BR /&gt;1 possible scenario I could&amp;nbsp;think of is to keep a master process to add items to the queue and increment the last DB value by the number of items added to queue and later&amp;nbsp;trigger the main process to rest of the bots (either using AutomateC from the master process&amp;nbsp;or a subsequent schedule)&amp;nbsp;which actually work on this requests.&lt;BR /&gt;&lt;BR /&gt;let me know if this works for you.&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;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2019 07:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62898#M15929</guid>
      <dc:creator>JerinJose</dc:creator>
      <dc:date>2019-12-03T07:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Global variable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62899#M15930</link>
      <description>this logic may fail in multi bot scenario. ​&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;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2019 07:08:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62899#M15930</guid>
      <dc:creator>JerinJose</dc:creator>
      <dc:date>2019-12-03T07:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Global variable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62900#M15931</link>
      <description>to create a unique integer by having a dynamic random number generated e.g a 20 digit number etc&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Cohen&lt;BR /&gt;RPA Developer&lt;BR /&gt;&lt;BR /&gt;Romania&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2019 08:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62900#M15931</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-03T08:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Global variable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62901#M15932</link>
      <description>Hi Radoslaw,&amp;nbsp;&lt;BR /&gt;I just wonder how you are getting the value of the request in the process from the beginning?&lt;BR /&gt;&lt;BR /&gt;The easy way would be: create global variable which will hold some number (maybe initial value&amp;nbsp; would be 0, depends on your situation), and inside of your process check if you have current global variable value +1 is existing in the database, if yes continue working with this request id.&lt;BR /&gt;&lt;BR /&gt;It's little bit unclear why do you need it for. So it's hard to propose some solution for you.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Kind regards, &lt;BR /&gt;&lt;BR /&gt;Dmitrij Mamajev&lt;BR /&gt;RPA Developer&lt;BR /&gt;Volvo Cars&lt;BR /&gt;Gothenburg - Sweden&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Dec 2019 12:31:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62901#M15932</guid>
      <dc:creator>dmma</dc:creator>
      <dc:date>2019-12-03T12:31:00Z</dc:date>
    </item>
    <item>
      <title>RE: Global variable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62902#M15933</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Not sure if this is the best approach for what we are trying to achieve here but, maybe setting the Exposure of Vairable to Statistic could help?&lt;BR /&gt;It stores the value in Blue Prism DB, and can be used in process, to update its value.&lt;BR /&gt;&lt;BR /&gt;Also, next time we run the process, it will fetch the last stored value in DB.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Deep Shah&lt;BR /&gt;Robotics Developer&lt;BR /&gt;FirstRand&lt;BR /&gt;Asia/Kolkata&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Dec 2019 07:07:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62902#M15933</guid>
      <dc:creator>Deep.Shah</dc:creator>
      <dc:date>2019-12-04T07:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: Global variable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62903#M15934</link>
      <description>The easiest way I've found to do this is to use Environment Locks to store a value in the Last Comment field. You have to have a very solid piece of logic/code in place to properly manipulate it, but I currently have an object in production that dynamically determines a connection number to use for a web service based on whether other sessions are currently using a connection. You'll have to deal with racing conditions so you may want to implement a wait of some kind.&lt;BR /&gt;&lt;BR /&gt;The second easiest way is to use a work queue item, which would be similar to Environment Locks except is less susceptible to data loss.&lt;BR /&gt;&lt;BR /&gt;The next way would be to use a separate database (which could actually just be a file stored in a shared location) that the automations can query to determine what the next ID should be.&lt;BR /&gt;&lt;BR /&gt;The best and most legit way would be a web service set up to return a value that should be used. But that sounds way over-engineered for such a simple task.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Dave Morris&lt;BR /&gt;3Ci @ Southern Company&lt;BR /&gt;Atlanta, GA&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Dec 2019 17:50:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62903#M15934</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2019-12-06T17:50:00Z</dc:date>
    </item>
    <item>
      <title>RE: Global variable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62904#M15935</link>
      <description>use queues to store each value after increment .It will also help you to retrieve the value when required .&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Vivek Goel&lt;BR /&gt;RPA Architect&lt;BR /&gt;Asia/Singapore&lt;BR /&gt;+6594554364&lt;BR /&gt;&lt;A href="https://www.rpatools.com/" target="test_blank"&gt;https://www.rpatools.com/&lt;/A&gt;&lt;BR /&gt;"If you like this post, please press the "Recommend" Button.&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Dec 2019 03:54:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62904#M15935</guid>
      <dc:creator>vivek.kumar.goel</dc:creator>
      <dc:date>2019-12-10T03:54:00Z</dc:date>
    </item>
    <item>
      <title>RE: Global variable</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62905#M15936</link>
      <description>​Hi guys,&lt;BR /&gt;&lt;BR /&gt;Many thanks for your advice! I will try to implement some of your ideas!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Radoslaw&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Radoslaw Rajnert&lt;BR /&gt;Financial Systems Expert&lt;BR /&gt;Telefonica OHG&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Dec 2019 06:24:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Global-variable/m-p/62905#M15936</guid>
      <dc:creator>radoslawrajnert</dc:creator>
      <dc:date>2019-12-10T06:24:00Z</dc:date>
    </item>
  </channel>
</rss>

