Calculating Bot Idle time
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-05-22 06:48 AM
is there a way to generate bot idle time report for a week/month in Blue prism.
Regards,
Athiban
------------------------------
Athiban Mathi
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-05-22 09:04 AM
I don't know if exists a way to get the info directly.
But, you can use the tabla "BPASession" from the BluePrism's database. Here you have the start time (startdatetime) and the end time (enddatetime), and the Resources id (runningresourceid)
You can create a query to extract all the time that is idle, something like this:
SELECT A.name
, A.ExecuteDate
, 1440 - SUM(diff)
FROM (
SELECT RES.name
, CAST(startdatetime AS date) AS ExecuteDate
, DATEDIFF(MINUTE, startdatetime, ISNULL(enddatetime, GETDATE())) as Diff
FROM BPASession SES
INNER JOIN BPAResource RES ON SES.runningresourceid = RES.resourceid
WHERE RES.name = 'CA00WVPRSW01'
) AS A
GROUP BY name, ExecuteDate
This gives you the idle time in minutes. Review it and let us know if this works for you
Hope this helps you, and if this solves your question, remember mark as the best answer 🙂
See you in the community, bye 😄
------------------------------
Pablo Sarabia
Architect
Altamira Assets Management
Madrid
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
02-05-22 09:07 AM
You can calculate the bot's idle time based on the scheduler. Just verify how much is the utilization of the bot during the whole day/week either by pulling out the report from the control room or it can also be fetched from the backend database, provided proper accesses are available for accessing the database.
------------------------------
Manpreet Kaur
Manager
Deloitte
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-06-22 02:21 PM
bot1 2021-12-21 1272
and bot 2 saying
bot2 2021-12-22 -10630
these coincidentally are also only happening in debug mode, are they by any chance something running in debug thats running overnight or something?
------------------------------
Dexter Whelan
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-22 09:42 AM
The principle of the query is correct, but the 'end date substitution' bit needs to be improved. Adding a 'where session is not pending' or 'where session is complete' clause will probably do the trick.
------------------------------
John Carter
Professional Services
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-22 11:16 AM
------------------------------
Dexter Whelan
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
17-06-22 06:07 PM
------------------------------
John Carter
Professional Services
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-02-24 05:56 AM
Hi, Could you please tell me how to fetch the data from the backend database. I need to know each machines run time and ideal time for the day.
------------------------------
Dinesh Kumar
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
26-02-24 02:47 AM
------------------------------
Leonardo Soares
RPA Developer Tech Leader
América/Brazil
------------------------------
