02-09-20 04:04 PM
Answered! Go to Answer.
13-03-22 08:30 AM
AutomateAppCore.dll
file under your Blue Prism installation folder or not.System
System.Drawing
System.Data
BluePrism.AutomateAppCore
System.Collections.Generic
BluePrism.AutomateAppCore.clsServerPartialClasses.Sessions
System.dll
System.Data.dll
System.Xml.dll
System.Drawing.dll
AutomateAppCore.dll
22-11-22 02:08 PM
I would say this is a very important process to implement. My team had dozens of Pending restart sessions troubling our nightruns. But this has solved it.
Is there any way this could pickup on "Warning" like it finds Pending?
Dim sortInfo As New SessionSortInfo(SessionManagementColumn.StartTime, SessionSortInfo.SortDirection.Descending)
Dim maxSessionCount As Integer = 1
Dim users As New List(Of String) from {user}
Dim processes As New List(Of String) from {Process}
Dim resources As New List(Of String) from {resource}
Dim sessions As ICollection(Of clsProcessSession) = gSv.GetFilteredSessions(processes, resources,
users, 0, Nothing, Nothing, Nothing, False, False, maxSessionCount, sortInfo)
PendingSessions = sessions.count
09-12-22 02:55 PM
Hi Atli,
I dont think there is a way. Warning is a calculated value based off the query below. The status needs to be 1, which is running. Pending sessions are 0.
select
r.name as resource_name,
s.*
from BPASession s,
BPAResource r
where
s.runningresourceid = r.resourceid
and
dateadd("s", lastupdatedtimezoneoffset, getutcdate()) > dateadd("s", warningthreshold, s.lastupdated)
and s.statusid = 1
You could modify this query to get anything with status id = 0, user [scheduler] and X seconds after startdatetime. (X being 15 seconds might be a good start).
This will return for you anything that is stuck in pending by scheduler.
Thanks,
David
08-03-23 03:57 AM
Hi Virpi,
Greetings for the day!! As we are using 6.10.3 just wanted to check if this solution works for you in this version as for us it is not working. I have observed that it is starting the sessions created by users other than scheduler but not the ones created by scheduler.
I have tried changing user variable value to All, Scheduler but nothing seems working for me.
08-03-23 04:09 AM
Hi David,
Greetings for the day!! As we are using 6.10.3 just wanted to check if this solution works for you in this version as for us it is not working. I have observed that it is starting the sessions created by users other than scheduler but not the ones created by scheduler.
I have tried changing user variable value to All/Scheduler but nothing seems working for me.
20-03-23 09:59 AM
We experience the same errors now that we upgraded Blue Prism from 6.10.2 to 7.1.2. Most probably something changed and the VBO ist not compatible to Version 7 in its current version.
20-03-23 11:12 AM
I have got rid of pending sessions using Http commands to the resource PC not through this VBO, http commands are more reliable and you can either start pending sessions or delete them.
20-03-23 01:06 PM
Hi Nilanshu,
There is a switch called "Using Older Version?". Can you try it both ways and see if it corrects the issue for you? If it does not, please submit a trouble ticket and request "David Dinh" in US. We can set up a working session to get you going.
20-03-23 01:08 PM
Hi Manish,
Sorry for delay, I did not see your message until now. This is a good idea. I will add it to the queue. In the meantime, you should be able to by changing the properties of the objects.
Thanks,
David
20-03-23 01:16 PM
Hi Soni,
Has this been resolved for you? We can schedule a meeting if need. Please cut a support ticket and route to "David Dinh in US".
Thanks,
David