<?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 Add to Queue in University Forum</title>
    <link>https://community.blueprism.com/t5/University-Forum/Add-to-Queue/m-p/85607#M1586</link>
    <description>&lt;P&gt;in template 1-basic&lt;/P&gt;
&lt;P&gt;why is it a best practice to lock the environment while adding to the queue? what is the problem if there are several bots adding to the same queue at the same time?&lt;/P&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32799.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32895i721BB40836C8AB67/image-size/large?v=v2&amp;amp;px=999" role="button" title="32799.png" alt="32799.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sam Lima&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Wed, 27 Apr 2022 03:16:00 GMT</pubDate>
    <dc:creator>SamLima</dc:creator>
    <dc:date>2022-04-27T03:16:00Z</dc:date>
    <item>
      <title>Add to Queue</title>
      <link>https://community.blueprism.com/t5/University-Forum/Add-to-Queue/m-p/85607#M1586</link>
      <description>&lt;P&gt;in template 1-basic&lt;/P&gt;
&lt;P&gt;why is it a best practice to lock the environment while adding to the queue? what is the problem if there are several bots adding to the same queue at the same time?&lt;/P&gt;
&lt;DIV class="media" style="overflow: hidden; zoom: 1;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="32799.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/32895i721BB40836C8AB67/image-size/large?v=v2&amp;amp;px=999" role="button" title="32799.png" alt="32799.png" /&gt;&lt;/span&gt;&lt;/DIV&gt;
&lt;DIV style="position: absolute; display: none; z-index: 16777271;"&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sam Lima&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Apr 2022 03:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Add-to-Queue/m-p/85607#M1586</guid>
      <dc:creator>SamLima</dc:creator>
      <dc:date>2022-04-27T03:16:00Z</dc:date>
    </item>
    <item>
      <title>RE: Add to Queue</title>
      <link>https://community.blueprism.com/t5/University-Forum/Add-to-Queue/m-p/85608#M1587</link>
      <description>&lt;SPAN&gt;Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/53497"&gt;@SamLima&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;Environment Locking is a concept that is used for Multi-Bot Architecture framework. The way it works is to essentially lock a part of the workflow in such a way that only one Runtime Resource can access that part of the workflow at any particular point of time during execution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;Scenarios:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is generally used in scenarios where let say there is one source data which needs to be read and you don't want two machines to read the data as duplication might occur or the file might get locked by one resource while the other tries to access it. In your case, if multiple robot try to access the same data source and populate the queue items then there are chances of duplication or can be issues if the data source does not supports parallel working of users at the same time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, if in you automation process, let say you deal with an application where the User ID is same for all the bots and only one session can be created at a time. Then ideally you won't want multiple robots to work on that session.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;For more details on how it works, you can refer to my detailed answer at the following thread: &lt;A href="https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=145&amp;amp;MessageKey=6e5c6c42-fbdd-4490-b289-490f81f45442&amp;amp;CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01" target="_blank" rel="noopener"&gt;Environment Locking&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;----------------------------------&lt;BR /&gt;Hope it helps you out and if my solution resolves your query, then please mark it as the '&lt;STRONG&gt;Best Answer&lt;/STRONG&gt;' so that the others members in the community having similar problem statement can track the answer easily in future&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Devneet Mohanty&lt;BR /&gt;Intelligent Process Automation Consultant | Sr. Consultant - Automation Developer,&lt;BR /&gt;Wonderbotz India Pvt. Ltd.&lt;BR /&gt;Blue Prism Community MVP | Blue Prism 7x Certified Professional&lt;BR /&gt;Website: &lt;A href="https://devneet.github.io/" target="test_blank"&gt;https://devneet.github.io/&lt;/A&gt;&lt;BR /&gt;Email: devneetmohanty07@gmail.com&lt;BR /&gt;&lt;BR /&gt;----------------------------------&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Apr 2022 03:20:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/University-Forum/Add-to-Queue/m-p/85608#M1587</guid>
      <dc:creator>devneetmohanty07</dc:creator>
      <dc:date>2022-04-27T03:20:00Z</dc:date>
    </item>
  </channel>
</rss>

