How to get "Session Start Time" with Visual Basic?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-11-21 09:54 AM
Hi,
I have done a self made Business Object and in that object I 've done an action where I have a Code-stage (I used Visual Basic).
In that code stage I get all the sessions that have a have a status Pending. For that I use gSv.GetFilteredSessions(...) -method. (I found this from the "Scheduler Pending Session Starter VOB" done and published by Blue Prism)
And now I really need information of the "Session Start Time". The same Start Time that I can see in the Blue Prism - Control Room (see the image attached).
I can't read the information from the database, since we don't have access to Blue Prisms tables.
So the question is, is there any way of getting that information with Visual Basic code?
I have done a self made Business Object and in that object I 've done an action where I have a Code-stage (I used Visual Basic).
In that code stage I get all the sessions that have a have a status Pending. For that I use gSv.GetFilteredSessions(...) -method. (I found this from the "Scheduler Pending Session Starter VOB" done and published by Blue Prism)
And now I really need information of the "Session Start Time". The same Start Time that I can see in the Blue Prism - Control Room (see the image attached).
I can't read the information from the database, since we don't have access to Blue Prisms tables.
So the question is, is there any way of getting that information with Visual Basic code?
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-11-21 11:36 AM
@lahdevi,
I'm not sure what might be available via the unpublished Blue Prism libraries, but you can certainly get the session start time from a direct query against the Blue Prism database. There's a column in table dbo.BPASession called startdatetime that you can grab.
@David-Dinh - any thoughts about doing this via the core libraries?
Cheers,
Eric
I'm not sure what might be available via the unpublished Blue Prism libraries, but you can certainly get the session start time from a direct query against the Blue Prism database. There's a column in table dbo.BPASession called startdatetime that you can grab.
@David-Dinh - any thoughts about doing this via the core libraries?
Cheers,
Eric
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
05-11-21 01:25 PM
Hello,
I believe the only way to get this information is through the database. I check the command-line options and there does not appear to have a method to retrieve it this way.
Thanks,
David
