Hi
@Athiban MathiI 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
------------------------------