16-12-19 01:49 PM
17-12-19 11:00 AM
Select w.id as itemid, P.name as processname
from BPAWorkQueueItem W
inner join
BPASession S on W.sessionid=S.sessionid
inner join
BPASessionLog_NonUnicode N on N.sessionnumber=S.sessionnumber
inner join
BPAProcess P on S.processid=P.processid
where P.name= <processname>
you can join session table and session nonunicode table using sessionnumber and do an inner join to workqueueitem table on sessionid and you can group by sessionnumber
however I suggest not to depend on session nonunicode table at all, as this data is irrelevant for reporting and should be archived periodically. else you will end up overshooting your Database storage
20-12-19 04:11 PM