Scheduler creating a session but not starting it - session stays in pending status
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-04-18 01:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-04-18 04:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-04-18 12:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-04-18 08:12 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-11-20 04:10 PM
we're facing the issue that Scheduler created pending sessions and didn't start them since BP 6.3.
We got a "session clearer" vbo, basically this Code:
Dim maxSessionCount As Integer = 32767
Dim sessions As ICollection(Of clsProcessSession) = gSv.GetFilteredSessions(
New String(){"All"},
New String(){resource},
New String(){user}. 'user,
SessionStatus.Pending,
Nothing,
Nothing,
Nothing,
False,
False,
maxSessionCount,
sortInfo)
Dim talker As New clsTalker(120)
Dim err As String = Nothing
If Not talker.Connect(resource, err) Then Throw New Exception( "Could not connect to '" & resource & "' - " & err)
If Not talker.Authenticate() Then Throw New Exception( "Authentication Error")
Dim succeeded As New List(Of Guid)
Dim failed As New List(Of Guid)
For Each sess As clsProcessSession In sessions
If talker.Say("delete " & sess.SessionID.ToString(), "SESSION DELETED : " & sess.SessionID.ToString()) Then succeeded.Add(sess.SessionID) _
Else failed.Add(sess.SessionID)
Next
If failed.Count > 0 Then
Throw New Exception( "Failed to delete sessions: " & String.Join(", ", failed) &
If(succeeded.Count > 0, " (successfully deleted " & succeeded.Count & " session/s)", "")
It was running very well under 6.4 and deletes the pending session for the given user/resource.
But after migration to 6.7.1 it doesn't work anymore.
Obviously something was changed in the clsTalker.
1) it requires now a TimeOut Value.
2) Talker.Say("delete " & sess.SessionID' doesn't delete the session, it still persists.
Where can I get a documentation about AutomateAppCore.clsTalker ? What is the command for Talker.say delete session?
Thanks a lot in advance and BR
AJ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
13-11-20 01:58 PM
up! we too are searching something for delete pending itens
someone can help?
------------------------------
Gustavo Klein
System Analyst
UTC
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-10-21 01:53 PM
could you confirm this is still the case in BP v6.10? Pending sessions do consume / reserve licences?
Thank®ards
------------------------------
Alexander Bopp
Business Automation Engineer
Credit Suisse AG
Europe/Zurich
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-10-21 02:03 PM
Yes Pending sessions do consume/reserve license
------------------------------
Jerin Jose
Technical Product Owner
EY
Asia/Kolkata
*"If you find this post helpful mark it as best answer, .*
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-10-21 02:47 PM
------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
PAULISTA
+5581988869544
If my answer helped you? Mark as useful!
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
21-10-21 03:00 PM
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
