20-09-23 04:01 PM
Hi BP community,
I'd like to share my results of work on a personal project - web-based Control Room for Blue Prism. Will welcome any feedback or advice.
The benefits are:
*Browser-based: no need to install Blue Prism software on client machines. A good option for skilled business users who just want to monitor bot work progress.
*Security:
-Access to API is granted only to authorized Blue Prism users.
-API access control is based on JWT bearer authentication.
-Access to BP database views is controlled by a specially created service account with limited 'read' rights.
-Nothing is being written or changed in BP database directly.
*Easier deployment (vs BP official components): Run SQL scripts; deploy 2 components, API and client (optionally), to IIS; adjust config and settings.
*Version-agnostic: one client can connect to BP environments of different versions. No need to install several separate versions of BP to connect to different environments.
*Old versions support: is compatible with BP v7.0+ and v6.0+ (that are not compatible with official Blue Prism API). Older versions were not tested.
*Familiar friendly interface: html client mimics desktop control room well known to everyone working with BP.
*Self-sufficient client: written in vanilla JS, it is well-portable incorporating HTML, CSS and JS in one file. Doesn't link to any external resources.
*Extendable: open for adding new functionality.
Sources: github
Demo (8min):
Answered! Go to Answer.
21-09-23 09:48 AM
This is pretty cool brother. What BP is not able to do you have done it 😛
Definitely will give a try.
21-09-23 04:55 AM
Thanks for sharing Maksim,
Regards,
21-09-23 08:21 AM
@MaksimKazlou - This looks pretty neat and promising, thanks for sharing !!
------------------------------
Regards,
Mukesh Kumar - Senior Automation Developer
NHS, England, United Kingdom, GB
------------------------------
21-09-23 09:48 AM
This is pretty cool brother. What BP is not able to do you have done it 😛
Definitely will give a try.
21-09-23 02:46 PM
Hi, Maksim,
this is really cool!!! Have you done any measurement of performance impact and response time in the web based Control Room?
Regards
Zdenek
21-09-23 03:21 PM
Hi Zdanek,
I didn't do any benchmarks, just observed it visually. This is clear that API performance will depend on VM characteristics where it will be hosted. On large environments the amount of sessions data theoretically can slow down the system bc it returns all sessions within last month by default, but there is room for optimizations and customization there. Also, parallel usage of automatec.exe can be a bottleneck, but usually on large environments the most of sessions are run through scheduler, not manually.
It's worth mentioning that like with BP server it's possible to scale out the system by deploying this API on several VMs and applying load balancing. Then the point of attention will be the DB server and its performance. Anyway, I don't think it will significantly differ with proprietary Blue Prism in terms of performance.
21-09-23 06:07 PM
Thanks for sharing Maksim. Its definitely one of the thing to try.
21-09-23 08:55 PM
Bravo @MaksimKazlou, well done.
It is great to see members of the community create and share innovative solutions.
When we launched Version 7 with the published API back in 2021, we anticipated (and hoped for) clever people would consume it to build interesting things, and you have, congratulations!
Some personal thoughts:
I look forward to seeing how far you take this.
Kind regards
Chris Strong
Senior Product Manager
SS&C | Blue Prism
22-09-23 05:52 AM
Hi @chris.strong,
Thanks for the feedback.
You might not notice it, but I didn't leverage Blue Prism API, instead I created my own, though minimalistic and comprising of 7-8 endpoints but having all required functionality. And it let running this control room not only in BP environments 7.0+, but also on older versions that cannot be matched to modern BP cloud products like BP API (btw I see that a number of companies aren't migrating to v7 yet and are staying on older ones).
The concept of this solution is "do not change anything in BP database directly, only read; all changes can be done through automatec.exe". And it imposes some functional limitations, so its capabilities are limited by capabilities of automateC tool.
22-09-23 08:57 AM
Thank you, I didn't notice. Your approach to the API is the same as we landed on. The Blue Prism API also leverages the built in Blue Prism users + JWT bearer tokens for authentication and is also hosted on IIS.
I'd recommend leveraging the published Blue Prism API, but it you your call of course how you choose to interface to the platform and balance the trade off between supporting older versions or going straight to the newer capabilities which not everyone is on yet.
Your demo is still impressive and I suspect this will be a popular thread.
------------------------------
Chris Strong
Senior Product Manager
SS&C | Blue Prism
------------------------------