<?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 Why we should not call process within process? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90956#M41069</link>
    <description>Why we should not call process within process?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neha Akhade&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Fri, 05 Aug 2022 11:25:00 GMT</pubDate>
    <dc:creator>NehaAkhade</dc:creator>
    <dc:date>2022-08-05T11:25:00Z</dc:date>
    <item>
      <title>Why we should not call process within process?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90956#M41069</link>
      <description>Why we should not call process within process?&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neha Akhade&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Aug 2022 11:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90956#M41069</guid>
      <dc:creator>NehaAkhade</dc:creator>
      <dc:date>2022-08-05T11:25:00Z</dc:date>
    </item>
    <item>
      <title>RE: Why we should not call process within process?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90957#M41070</link>
      <description>Hi Neha.&lt;BR /&gt;&lt;BR /&gt;There is no issue with calling a process from another. There is an action specifically for calling a sub-process. The issue to be careful of is when calling a sub-process from within a loop.&lt;BR /&gt;&lt;BR /&gt;When a process is called, it is loaded into memory, when it is done, memory is cleared. If this happens in a loop, you can see where this may be a problem.&lt;BR /&gt;&lt;BR /&gt;jack&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Jack Look&lt;BR /&gt;Sr Product Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Aug 2022 13:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90957#M41070</guid>
      <dc:creator>lookman</dc:creator>
      <dc:date>2022-08-05T13:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Why we should not call process within process?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90958#M41071</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/46480"&gt;@NehaAkhade&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;As &lt;A class="user-content-mention" data-sign="@" data-contactkey="bb94f2da-9279-4553-a233-4153327c4f13" data-tag-text="@Jack Look" href="https://community.blueprism.com/network/profile?UserKey=bb94f2da-9279-4553-a233-4153327c4f13" data-itemmentionkey="0ed0eaad-fd2c-44c4-9bd6-31e660416c10"&gt;@Jack Look&lt;/A&gt; has suggested there isnt really much to say you shouldn't call a process within a process but there may be limited reasons for this to be useful. If you have a large process that requires to be separated into 2 or more processes and each of these has to run consecutively then you would be best to have the scheduler handle this instead of a process calling one of the other. This allows for easier management and retry if one of these should fail e.g. if the second process fails but its being called by a main process then you may need to retry the entire main process and any processes called within it. If there are 4 processes run consecutively by the scheduler and the second one fails then you can retry the second process through the control room itself.&lt;BR /&gt;&lt;BR /&gt;Another reason to not use this is whether the amount of actions within the second process would require it be used as a process. In most cases, if required, then you should create a vbo to handle these actions. For example if within a process you have a requirement to manage a significant number of calculations at a certain point then rather than adding these calculations to a separate process to be called you could create a vbo to contain these calculations and be called when needed which could also, potentially, be reusable by other processes.​​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Michael ONeil&lt;BR /&gt;Technical Lead developer&lt;BR /&gt;NTTData&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Aug 2022 15:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90958#M41071</guid>
      <dc:creator>michaeloneil</dc:creator>
      <dc:date>2022-08-05T15:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: Why we should not call process within process?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90959#M41072</link>
      <description>Understood thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &lt;A class="user-content-mention" data-sign="@" data-contactkey="bb94f2da-9279-4553-a233-4153327c4f13" data-tag-text="@Jack Look" href="https://community.blueprism.com/network/profile?UserKey=bb94f2da-9279-4553-a233-4153327c4f13" data-itemmentionkey="a27aadd1-7300-4de3-8804-37da2e03f334"&gt;@Jack Look&lt;/A&gt; &lt;A class="user-content-mention" data-sign="@" data-contactkey="ddd4d6a3-af39-4c64-8db4-cdb1d05ed669" data-tag-text="@Michael ONeil" href="https://community.blueprism.com/network/profile?UserKey=ddd4d6a3-af39-4c64-8db4-cdb1d05ed669" data-itemmentionkey="3f400396-4d69-4e1b-8e1c-e6f0323012d8"&gt;@Michael ONeil&lt;/A&gt;​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Neha Akhade&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 08 Aug 2022 05:40:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90959#M41072</guid>
      <dc:creator>NehaAkhade</dc:creator>
      <dc:date>2022-08-08T05:40:00Z</dc:date>
    </item>
    <item>
      <title>RE: Why we should not call process within process?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90960#M41073</link>
      <description>&lt;P&gt;Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="ddd4d6a3-af39-4c64-8db4-cdb1d05ed669" data-tag-text="@Michael ONeil" href="https://community.blueprism.com/network/profile?UserKey=ddd4d6a3-af39-4c64-8db4-cdb1d05ed669" data-itemmentionkey="d3a6848d-60c5-4399-a549-d56325c43473"&gt;@Michael ONeil&lt;/A&gt;&lt;A href="https://community.blueprism.com/network/profile?UserKey=ddd4d6a3-af39-4c64-8db4-cdb1d05ed669" target="_blank" rel="noopener"&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks for the insights in the topic on sub process as this is often less explored across teams. I agree with the 2nd reason you stated wrt processes that can be built as actions into VBOs.&lt;/P&gt;
&lt;P&gt;But, one thing I would like to clarify on your 1st reason to not use sub process "for easier management and retry" is that we can use Process startup parameters to fix that. Explained broadly below -&lt;/P&gt;
&lt;P&gt;We have a requirement to automate a big process that has 6 different sub processes to run by using inputs from the same source and generate 1 processing report at the end. We can use a main process to add the items to the queue and call each sub process at a time to work on the items it is tagged with. Once done the bot will generate the report. &lt;STRONG&gt;Now , we can have a 7 startup parameters ; 6 flags suggesting which process to run and 1 to determine if queue addition is needed&lt;/STRONG&gt;. Incase of a termination, say 2nd process terminates, we can manually trigger the Main process with set queue addition as False, and all other flags starting from 2nd one as True. Based on these flag setup and the Main process design, the bot will continue processing from the 2nd one(also retried items) and complete till the 6th.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;This seems like an easy way to deal with subprocess termination etc. Could you add onto this as why using a set of subprocesses is not feasible ?&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Swapnadeep Deb&lt;/P&gt;
&lt;P&gt;Tech Lead, Robotics&lt;/P&gt;
&lt;P&gt;TCS&lt;BR /&gt;------------------------------&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 07:19:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90960#M41073</guid>
      <dc:creator>swapnadeep_deb</dc:creator>
      <dc:date>2023-09-18T07:19:00Z</dc:date>
    </item>
    <item>
      <title>RE: Why we should not call process within process?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90961#M41074</link>
      <description>&lt;P&gt;Hi swapnadeep Deb,&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;There are some good points Michael O'Neil mentioned above, but as you mentioned on your specific automation, using different approach based on the requirment&amp;nbsp; There is always not one approach will not fit for all the automation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's always tradeoff between one vs other . I always use either one of the approach mentioned&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1) using main process to call subprocess( as long there will be less chance to fail&amp;nbsp; what i mean that is all the exception are well handled,&amp;nbsp; forethought about memory consideration,easy for maintenance of&amp;nbsp; the automation and allow for multi bots to run)&lt;/P&gt;
&lt;P&gt;2) creating separate subprocess all together.( for better management and allow multi bots to run) obviously this will give lot of flexibility for the support and memory management.&lt;/P&gt;
&lt;P&gt;What I'm against is building everything in one process.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;-----------------------&lt;BR /&gt;If I answered your query. Please  mark it as the "Best Answer"&lt;BR /&gt;&lt;BR /&gt;Harish Mogulluri&lt;BR /&gt;Lead developer&lt;BR /&gt;America/New_York TX&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Sep 2023 09:25:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Why-we-should-not-call-process-within-process/m-p/90961#M41074</guid>
      <dc:creator>harish.mogulluri</dc:creator>
      <dc:date>2023-09-18T09:25:00Z</dc:date>
    </item>
  </channel>
</rss>

