<?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: Object auto initialization in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101666#M48567</link>
    <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/18003"&gt;@SourabhSaha&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Are you working with a trial edition of Blue Prism? If the license you have limits you to no more than 1 concurrent session I imagine that is the case. &lt;A class="user-content-mention" data-sign="@" data-contactkey="bf6edb31-c42f-4040-9e4b-d47f91046c5a" data-tag-text="@John Carter" href="https://community.blueprism.com/network/profile?UserKey=bf6edb31-c42f-4040-9e4b-d47f91046c5a" data-itemmentionkey="e6d857f4-79b2-4da1-a5a5-c7b499c62daa"&gt;@John Carter&lt;/A&gt; has made some good points above, and the Web Services User Guide he's directed you to includes some valuable information regarding sessions and run-modes. &lt;BR /&gt;&lt;BR /&gt;In your case, if you were to set both Object A and Object B to have a run-mode of &lt;STRONG&gt;Background &lt;/STRONG&gt;what I envision happening here is that a new session would be created for each object. When Object B attempts to the start the specific process (pulled from the queue) that would result in another session being created - assuming this process also has a run-mode of &lt;STRONG&gt;Background&lt;/STRONG&gt; or &lt;STRONG&gt;Foreground&lt;/STRONG&gt;. If the run-mode is &lt;STRONG&gt;Exclusive&lt;/STRONG&gt; it will terminate with an error.&lt;BR /&gt;&lt;BR /&gt;Given the restriction on your license, this will not work. Something to understand about auto-initialization is that Blue Prism will not terminate the sessions tied to objects A or B immediately. You may only make a single call to say Object A, but the session will continue to live on for a period of time after that call completes. Eventually, Blue Prism will determine that there have been no new calls to that object and terminate the session. With manual-initialization you could actually control when the session is terminated. However, this still wouldn't work for you because Object B would still be running as it tries to start the process, so at a minimum you would need a license that supports at least 2 concurrent sessions.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric​​​</description>
    <pubDate>Thu, 06 Jan 2022 00:09:01 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2022-01-06T00:09:01Z</dc:date>
    <item>
      <title>Object auto initialization</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101661#M48562</link>
      <description>I am working on a use case where the workflow is as below:&lt;BR /&gt;&lt;BR /&gt;1. The details of the process (Process Name and its nput Parameters - if any) to be to be triggered will be uploaded to the&amp;nbsp; Work queue by Object A. The Object A is exposed as web service and is being requested via "&lt;STRONG&gt;Auto Initialization&lt;/STRONG&gt;".&lt;BR /&gt;&lt;BR /&gt;2. The Object B will then access the work queue and pick up the process details and triggers the process using Command Line (AutomateC.exe). The object B is also being called using "&lt;STRONG&gt;auto initialization&lt;/STRONG&gt;".&lt;BR /&gt;&lt;BR /&gt;My runtime resource is currently capable of running 1 session at a time concurrently. Will I be able to successfully trigger the process using Object B or do we need additional licence.&amp;nbsp; If so, then why as I am using "&lt;STRONG&gt;auto initialization&lt;/STRONG&gt;" for Object B and my understaning is I can run multiple request using Auto Initialization.</description>
      <pubDate>Tue, 04 Jan 2022 04:09:51 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101661#M48562</guid>
      <dc:creator>SourabhSaha</dc:creator>
      <dc:date>2022-01-04T04:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Object auto initialization</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101662#M48563</link>
      <description>Hi Soubra&lt;BR /&gt;&lt;BR /&gt;The simple way to think of license utilisation is 'number of Prod sessions running = number of licenses consumed'. It doesn't matter how or what those licenses are running, whether on individual machines or in parallel on the same machine, the licence utilisation is equal to the number of concurrent sessions.&lt;BR /&gt;&lt;BR /&gt;For web services, auto-init determines whether each call to an object is treated as an individual session, or whether a series of calls to an object are handled as one session. Auto-init has no direct connection to licensing, but it is indirectly linked via the number of sessions that may result from web service calls.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Have a read of &lt;A href="https://bpdocs.blueprism.com/z-pdf/web-services/Blue%20Prism%206.3%20-%20Web%20Services%20User%20Guide.pdf" target="_blank" rel="noopener"&gt;this&lt;/A&gt; document, it illustrates a number of scenarios to explain run-mode, session concurrency and license utilisation. I think in the scenario you have described 2 licences will be required because auto-init is not a global setting across multiple objects, it's a setting applied to individual objects.</description>
      <pubDate>Tue, 04 Jan 2022 13:41:17 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101662#M48563</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2022-01-04T13:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Object auto initialization</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101663#M48564</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/18003"&gt;@SourabhSaha&lt;/a&gt;,&lt;BR /&gt;​&lt;BR /&gt;How are you invoking &lt;STRONG&gt;Object B&lt;/STRONG&gt; to pick up the details from the work queue? Is it part of another process that's running on a schedule, or are you also invoking it via a web service call?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric</description>
      <pubDate>Tue, 04 Jan 2022 14:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101663#M48564</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-01-04T14:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Object auto initialization</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101664#M48565</link>
      <description>Hi @Eric Wilson&lt;BR /&gt;&lt;BR /&gt;Yes, we are invoking the Object B via web service call as well which in turn will invoke the Process via Command line (AutomateC.exe)</description>
      <pubDate>Wed, 05 Jan 2022 03:17:47 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101664#M48565</guid>
      <dc:creator>SourabhSaha</dc:creator>
      <dc:date>2022-01-05T03:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Object auto initialization</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101665#M48566</link>
      <description>Thank you very much @John Carter. I went through the documents and now the concepts have been clear to me. Thank&amp;nbsp; you for your help and suggestions.</description>
      <pubDate>Wed, 05 Jan 2022 03:23:44 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101665#M48566</guid>
      <dc:creator>SourabhSaha</dc:creator>
      <dc:date>2022-01-05T03:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Object auto initialization</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101666#M48567</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/18003"&gt;@SourabhSaha&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Are you working with a trial edition of Blue Prism? If the license you have limits you to no more than 1 concurrent session I imagine that is the case. &lt;A class="user-content-mention" data-sign="@" data-contactkey="bf6edb31-c42f-4040-9e4b-d47f91046c5a" data-tag-text="@John Carter" href="https://community.blueprism.com/network/profile?UserKey=bf6edb31-c42f-4040-9e4b-d47f91046c5a" data-itemmentionkey="e6d857f4-79b2-4da1-a5a5-c7b499c62daa"&gt;@John Carter&lt;/A&gt; has made some good points above, and the Web Services User Guide he's directed you to includes some valuable information regarding sessions and run-modes. &lt;BR /&gt;&lt;BR /&gt;In your case, if you were to set both Object A and Object B to have a run-mode of &lt;STRONG&gt;Background &lt;/STRONG&gt;what I envision happening here is that a new session would be created for each object. When Object B attempts to the start the specific process (pulled from the queue) that would result in another session being created - assuming this process also has a run-mode of &lt;STRONG&gt;Background&lt;/STRONG&gt; or &lt;STRONG&gt;Foreground&lt;/STRONG&gt;. If the run-mode is &lt;STRONG&gt;Exclusive&lt;/STRONG&gt; it will terminate with an error.&lt;BR /&gt;&lt;BR /&gt;Given the restriction on your license, this will not work. Something to understand about auto-initialization is that Blue Prism will not terminate the sessions tied to objects A or B immediately. You may only make a single call to say Object A, but the session will continue to live on for a period of time after that call completes. Eventually, Blue Prism will determine that there have been no new calls to that object and terminate the session. With manual-initialization you could actually control when the session is terminated. However, this still wouldn't work for you because Object B would still be running as it tries to start the process, so at a minimum you would need a license that supports at least 2 concurrent sessions.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric​​​</description>
      <pubDate>Thu, 06 Jan 2022 00:09:01 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101666#M48567</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-01-06T00:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Object auto initialization</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101667#M48568</link>
      <description>Thank you @John Carter and &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt; for the insight and the help. Much Appreciated​​</description>
      <pubDate>Thu, 06 Jan 2022 04:09:37 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Object-auto-initialization/m-p/101667#M48568</guid>
      <dc:creator>SourabhSaha</dc:creator>
      <dc:date>2022-01-06T04:09:37Z</dc:date>
    </item>
  </channel>
</rss>

