Threading
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-05-18 04:44 PM
Hi,
is there a possibility to have a threaded Process in Blue Prism?
If not, this would be a huge Advantage!
E.g.: If you have a Program which, at some unknown Point in time opens a Popup, that needs to be handled you could have a waiting thread, that justs sits there waiting for the popup. Once the popup appears the waiting thread handles the popup while at the same time pausing the Main thread.
Is this already possible? When will this Feature be available if not?
Best Regards,
Niklas Hilmer
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
23-05-18 06:37 PM
Hi Niklas - via a code stage maybe, but it depends on what you're trying to do. What we've had to do in the past is create a separate 'wait for an OK button and press it if it appears' and then have the main process start it via the command line so that it runs in parallel and not as a subprocess. It's quite awkward to do, but if the OK button is running on a separate thread to the main application, it's the only way.
If you've got a good idea then we'll happily consider it https://portal.blueprism.com/products/enhancement-request
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
20-09-18 06:46 PM
You can write a separate application e.g in Visual Studio which is waiting for some pop up and pressing some buttons. Then you launch this app in BP in main process 🙂
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-05-19 04:19 PM
I'm just saying for your example. I think if you put proper exception handling for that, then definitely you can close it within a seconds.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-09-19 08:00 AM
Hi, Niklas.
You can write the code that can track your popup and press the "ok" button with C# or VB.NET and run it in separate Thread in object.

Then you can call this action from your process and it will work in separate thread.
Important note: don't forget design it in such way that you cat stop this thread (for example call another action that kills this thread).
------------------------------
Aliaksandr Sauchanka
RPA
EY
Europe/Minsk
------------------------------
You can write the code that can track your popup and press the "ok" button with C# or VB.NET and run it in separate Thread in object.
Then you can call this action from your process and it will work in separate thread.
Important note: don't forget design it in such way that you cat stop this thread (for example call another action that kills this thread).
------------------------------
Aliaksandr Sauchanka
RPA
EY
Europe/Minsk
------------------------------
