<?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 Hi Amith,
Also, see if this… in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67587#M20192</link>
    <description>Hi Amith,
Also, see if this meets your requirements (search for this in the Documents section):
Blue Prism Dynamic Scheduler Examples
It's a set of files you can download and in that is documentation on how to dynamically start sessions up for processes. I think this gets at what you're looking for.
Respectfully,
Dave</description>
    <pubDate>Mon, 24 Sep 2018 07:47:00 GMT</pubDate>
    <dc:creator>david.l.morris</dc:creator>
    <dc:date>2018-09-24T07:47:00Z</dc:date>
    <item>
      <title>Sub Process</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67582#M20187</link>
      <description>Hi ,

&amp;nbsp;

Can anyone please tell me how to call a sub process dynamically ?. Like if we had the option to chnage the sub process name and input using a data item intead of a drop down.

One option will be to use cmd prompt and run the bat file for each process , so that we can pass different batch file as input to "Start process " action.

Is it a good approach?

Thanks and Regards,

Amith

&amp;nbsp;

&amp;nbsp;</description>
      <pubDate>Fri, 21 Sep 2018 18:13:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67582#M20187</guid>
      <dc:creator>amith1990</dc:creator>
      <dc:date>2018-09-21T18:13:00Z</dc:date>
    </item>
    <item>
      <title>Hi Amith,
Could you describe…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67583#M20188</link>
      <description>Hi Amith,
Could you describe your use case? I'm trying to imagine the scenario where you would need to dynamically pass in what process to run from within another process.
A lot of this will depend on what your conditions are for which process/subprocess to run. Is it the day of the week, some type of input data that comes in from outside, situations that occur with the automation during running? And this will also depend on whether you need the 'subprocess' to generate a new session or if it should run from the already-running session.
If you're simply trying to have one process or another run during a session, just throw a decision stage in there that checks some input and depending on the true/false (or use a choice stage for more), it will run one process or the other.
Respectfully,
Dave</description>
      <pubDate>Sun, 23 Sep 2018 07:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67583#M20188</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2018-09-23T07:43:00Z</dc:date>
    </item>
    <item>
      <title>Thanks Dave for your reply ,…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67584#M20189</link>
      <description>Thanks Dave for your reply ,&amp;nbsp;
&amp;nbsp;
I have a main process and based on the item data from queue i need to run different sub processes , say &amp;gt; 50 or 100. and in future more sub processes will add up. Instead of modifying the code each time&amp;nbsp; when i have&amp;nbsp; a new item similar to the others , i can use cmp prompt to call each sub processes (sequentially ) based on my item data. I had already done that creating a batch file and powershell script and its working fine. but&amp;nbsp; i am not sure of the side effects or if its a good approach.&amp;nbsp;
Thankfully,&amp;nbsp;
Amith&amp;nbsp;
&amp;nbsp;</description>
      <pubDate>Sun, 23 Sep 2018 19:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67584#M20189</guid>
      <dc:creator>amith1990</dc:creator>
      <dc:date>2018-09-23T19:17:00Z</dc:date>
    </item>
    <item>
      <title>Hi Amith,
Two things I can…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67585#M20190</link>
      <description>Hi Amith,
Two things I can think I can think of to consider (as far as side effects) is licensing and management information/auditing. For licensing, when you call a process from CLI, it'll generate a new session, which may be exactly what you need. But I just wanted to point it out. If you have your first process (the one that checks the queue data) running all the time and it spawns sessions of different processes based on data in the queue, you may find yourself using up your license limit.
For management information/auditing, if you are performing tasks in the scripts, those actions won't be logged by Blue Prism for use in MI or for audit later. This isn't necessarily a problem, but it's good to consider it just as the possible licensing issue.
As far as using powershell scripts/batch files, that's not discouraged as a matter of practice. BP gives exposes CLI commands so that we can use them. You may also want to consider exposing processes/objects as Web Services, which gives you the ability to trigger processes without having them on a schedule.
Respectfully,
Dave</description>
      <pubDate>Sun, 23 Sep 2018 22:03:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67585#M20190</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2018-09-23T22:03:00Z</dc:date>
    </item>
    <item>
      <title>One thing I want to amend…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67586#M20191</link>
      <description>One thing I want to amend from my reply above...
When I say that BP won't log the actions you perform in the script, I meant things like the decisions (if/then) that you performing in the script. The calls you make to Blue Prism that cause BP to do something should be in the audit log afterward. I haven't personally verified that every command is logged in the audit log, but they should be.
Dave</description>
      <pubDate>Sun, 23 Sep 2018 22:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67586#M20191</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2018-09-23T22:06:00Z</dc:date>
    </item>
    <item>
      <title>Hi Amith,
Also, see if this…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67587#M20192</link>
      <description>Hi Amith,
Also, see if this meets your requirements (search for this in the Documents section):
Blue Prism Dynamic Scheduler Examples
It's a set of files you can download and in that is documentation on how to dynamically start sessions up for processes. I think this gets at what you're looking for.
Respectfully,
Dave</description>
      <pubDate>Mon, 24 Sep 2018 07:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67587#M20192</guid>
      <dc:creator>david.l.morris</dc:creator>
      <dc:date>2018-09-24T07:47:00Z</dc:date>
    </item>
    <item>
      <title>thanks Dave,
Actually the…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67588#M20193</link>
      <description>thanks Dave,
Actually the above said PDF helped , its the same i mentioned in my above comments , in the sample process they have given , the process names and all other details are given in external file and either from file directly or through a queue each process is called and here they say dynamic scheduling . I am doing the excat same thing as mentioned . Using AutomateC.exe and passing the process name arguments.
&amp;nbsp;
Thanks Again ,
Amith</description>
      <pubDate>Mon, 24 Sep 2018 20:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67588#M20193</guid>
      <dc:creator>amith1990</dc:creator>
      <dc:date>2018-09-24T20:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hi Amith,
Two things I can…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67589#M20194</link>
      <description>Hi Dave,&amp;nbsp;&lt;BR /&gt;If a process that calls 3 sub processes within it is scheduled to run in control room, how many licenses will be consumed?&amp;nbsp;&lt;BR /&gt;For example&lt;BR /&gt;Process A has a choice stage and calls sub process S1 , for next item it calls S2. and so on based on nature of queue data.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Sahana Mohan&lt;BR /&gt;Solution Designer&lt;BR /&gt;Blueprism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Apr 2022 10:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67589#M20194</guid>
      <dc:creator>sahana.mohan</dc:creator>
      <dc:date>2022-04-04T10:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hi Amith,
Two things I can…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67590#M20195</link>
      <description>Hi Sahana,&lt;BR /&gt;&lt;BR /&gt;I would like to think and hope that in your example only one license would be required when running a process that calls several sub-processes. (process A calling both process S1 and S2, depending on the data)&lt;BR /&gt;&lt;BR /&gt;With the best practice rules prescribing to define sub-processes for re-usable chunks of logic in either objects or sub-processes, it would be greatly counterproductive of BP to require multiple licenses to run such a beautiful construction.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Happy coding!&lt;BR /&gt;Paul&lt;BR /&gt;Sweden&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Apr 2022 11:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67590#M20195</guid>
      <dc:creator>PvD_SE</dc:creator>
      <dc:date>2022-04-05T11:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hi Amith,
Two things I can…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67591#M20196</link>
      <description>Hi Sahana,&lt;BR /&gt;&lt;BR /&gt;As you are just using the default functionality to call another sub process, the whole process gets executed in one session consuming single license only.&lt;BR /&gt;&lt;BR /&gt;Also if you want to experiment there's a asset available on DX called "Function for License Utilisation SQL Script" &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/license-utilisation-sql-script" target="test_blank"&gt;https://digitalexchange.blueprism.com/dx/entry/3439/solution/license-utilisation-sql-script&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Shashank Kumar&lt;BR /&gt;DX Integrations Partner Consultant&lt;BR /&gt;Blue Prism&lt;BR /&gt;Singapore&lt;BR /&gt;+6581326707&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Apr 2022 12:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67591#M20196</guid>
      <dc:creator>shashank.kumar280</dc:creator>
      <dc:date>2022-04-05T12:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Hi Amith,
Two things I can…</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67592#M20197</link>
      <description>The easiest way to think of licenses is that each session running in control room consumes a license. It does not matter if you have the same process running on 3 machines or 3 different processes running on 1 machine, 3 running processes = 3 licenses. If a process spawns additional sessions, then that consumes more licenses. If a process runs sub-processes within the same session, that does not consume additional licenses.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;John Carter&lt;BR /&gt;Professional Services&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2022 08:55:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Sub-Process/m-p/67592#M20197</guid>
      <dc:creator>John__Carter</dc:creator>
      <dc:date>2022-04-06T08:55:00Z</dc:date>
    </item>
  </channel>
</rss>

