Blue Prism Product

last person joined: 3 hours ago 

This community covers the core Blue Prism product.

Expand all | Collapse all

Easy way to monitoring your process

  • 1.  Easy way to monitoring your process

    Posted 26 days ago

    ​Hi everyone!

    I want to open a dicussion about unattended monitoring of processes.

    Here I post you a simple query for the Blue Prism Database to see the status of the workers.

    SELECT sessionnumber
    , startdatetime
    , enddatetime
    , SES.lastupdated
    , SES.laststage
    , CASE WHEN SES.statusid = 1 AND DATEDIFF(minute,SES.lastupdated,getdate()) >= 5 THEN 'Warning' ELSE STAT.description END AS [status]
    FROM BPASession SES
    INNER JOIN BPAResource RESOUR ON SES.runningresourceid = RESOUR.resourceid
    INNER JOIN BPAStatus STAT ON SES.statusid = STAT.statusid
    INNER JOIN BPAProcess PROCESS ON SES.processid = PROCESS.processid

    WHERE sessionnumber IN (SELECT MAX(sessionnumber) FROM BPASession GROUP BY runningresourceid)

    I create another program to check every 5 minutes about the status. If the "watcher" see any "stoped" or other issue, it send me an email.

    What do you think about this? I think it's awesome to have a robot watching the robot.

    Bye :)

    Pablo Sarabia
    Altamira AM

  • 2.  RE: Easy way to monitoring your process

    Posted 26 days ago
    Hi Pablo,

    thanks for sharing. We use a similar approach in our self written scheduler. Here we concat Blue Prism processes to a job. Like 'Login' - 'Load Work Queue' - 'Process Work Queue' - 'Write Report' - 'Logout'.
    Our scheduler uses this piece of code to monitor the running process and start the next step when the actual step last finish.
    Our SQL runs every 20 seconds. But we do not join any other tables, 
    Another tip: Execute the sql 'WITH NOLOCK' to prevent database locks.

    Tobias Arnold
    RPA Developer

Welcome to the Blue Prism Product Community!

Whether you’re looking to manage a complex infrastructure, maintain security and compliance, bring new products to market faster, or gain operational speed and agility in an uncertain economy, Blue Prism delivers — with the flexibility you need to create the business you want. From deployment on-premise, through a cloud service provider or as SaaS, to a skillful and adaptable digital workforce that continually expands to meet your enterprise needs, you can gain enhanced operational insight and control while your people reclaim the time they need to focus on great work.

Product PageKnowledge BaseBlue Prism Training Offering


Blue Prism is intelligent automation — business-developed, no-code automation that pushes the boundaries of robotic process automation (RPA) to deliver value across any business process in a connected enterprise.

A combination of RPA with expanded cognitive and AI capabilities, Blue Prism is different than other automation technology on the market. With one Blue Prism license, you gain instant access to an already AI equipped digital workforce, along with the tools you need to build and delegate automations. Click here for more information on Blue Prism and Intelligent Automation.
To learn more about how Blue Prism can help your organization and how much it will cost to get started, please Contact our Sales department.
Blue Prism can be downloaded from our customer portal. If you would like to consume or download any material it is necessary to create an account on the Portal. Once you have registered, you can access the download options for Blue Prism here.
Yes! Installed on your own machine and supported by our training materials and product documentation, you can use all the features of the full enterprise product for free with our Blue Prism Trial – giving you the opportunity to learn the basics before moving to a full production implementation. Click here for more information and to download the trial.
Yes! You can access our known issue list for Blue Prism from our Support Portal.
Regardless of your industry, Blue Prism’s Digital Workforce can adhere to strict governance and compliance standards without limiting productivity. Click here for more information on how your industry can benefit from Blue Prism.