Hello!!
I don't know exactly why it is not working but here is a query to retrieve it by database
SELECT sessionnumber
, PROCESS.name
, RESOUR.name
, CASE WHEN SES.statusid = 1 AND DATEDIFF(minute,SES.lastupdated,getdate()) >= 5 THEN 'Warning' ELSE STAT.description END AS [status]
, startdatetime
, enddatetime
, SES.lastupdated
, SES.laststage
FROM BPASession SES
INNER JOIN BPAResource RESOUR WITH(NOLOCK) ON SES.runningresourceid = RESOUR.resourceid
INNER JOIN BPAStatus STAT WITH(NOLOCK) ON SES.statusid = STAT.statusid
INNER JOIN BPAProcess PROCESS WITH(NOLOCK) ON SES.processid = PROCESS.processid
Hope this helps you
Bye 🙂