cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Real Time Status

PasqualeFimiani
Level 3
Hi all,
i'm trying to create a script for realtime monitoring of runtime status.

I've found a very useful command:

http://localhost:8181/status that display the information needed, but it works only in localhost host. If I use the IP address (of the same machine or another one in same subnet), I receive this error:

USER NOT SET.

I've tried to pass user and pwd as I've found on some BP document:

http://localhost:8181/user=%20user&password=%20pwd&status

but I receive: authentication failed (I'm sure that user and pwd are OK) and the USER NOT SET

Any help will be very appreciate.

pasquale

------------------------------
Pasquale Fimiani
AI&Robotics
BNL
Europe/Rome
------------------------------
13 REPLIES 13

Hi,
Christian, yes I'm using SSO.

Thanks,
pasquale



------------------------------
Pasquale Fimiani
AI&Robotics
BNL
Europe/Rome
------------------------------

​Hi,

the http-Interface does not support SSO.
If you are on a Blue Prism version from 6.5.0 onwards you can use the automatec.exe first to get an authentification-token.
This token can then be paased to the http-Interface to authenticate.

But there may be a bug in Blue Prism Version prio to 6.5.0. See this link:
https://community.blueprism.com/communities/community-home/digestviewer/viewthread?GroupId=91&MessageKey=ad0dff9e-b3f2-40cf-bb5e-d43f19ad4adf&CommunityKey=3743dbaa-6766-4a4d-b7ed-9a98b6b1dd01&tab=dige...

Christian Panhans

------------------------------
Christian Panhans
Digitalisierung
BCB AG
Europe/London
------------------------------

PhilipTrovato
Level 4
Not sure your use case. But perhaps just grab this info from the database. Have you checked out the "BPAResource" table? Think its the same or very similar..

Example below.

/****** BP Workforce_Avail SQL ******/

SET TRANSACTION ISOLATION LEVEL SNAPSHOT


select resourceid as ResourceID
, [BluePrism62AD-2].[dbo].[BPAResource].name as Name
/*, status as Status*/
, DisplayStatus as DisplayStatus
, [BluePrism62AD-2].[dbo].[BPAResourceAttribute].AttributeName
, processesrunning as ProcessesRunning
, actionsrunning as ActionsRunning
, unitsallocated as UnitsAllocated
,[BluePrism62AD-2].[dbo].[BPAProcess].name AS Process_Automation
,[BluePrism62AD-2].[dbo].[BPASession].startdatetime
,[BluePrism62AD-2].[dbo].[BPASession].enddatetime
,[BluePrism62AD-2].[dbo].[BPASession].processid
,[BluePrism62AD-2].[dbo].[BPASession].laststage
,[BluePrism62AD-2].[dbo].[BPASession].lastupdated


FROM [BluePrism62AD-2].[dbo].[BPAResource]

LEFT join [BluePrism62AD-2].[dbo].[BPAResourceAttribute] on [BluePrism62AD-2].[dbo].[BPAResource].AttributeID = [BluePrism62AD-2].[dbo].[BPAResourceAttribute].AttributeID
LEFT join [BluePrism62AD-2].[dbo].[BPASession] on [BluePrism62AD-2].[dbo].[BPASession].runningresourceid = [BluePrism62AD-2].[dbo].[BPAResource].resourceid
LEFT join [BluePrism62AD-2].[dbo].[BPAProcess] on [BluePrism62AD-2].[dbo].[BPASession].processid = [BluePrism62AD-2].[dbo].[BPAProcess].processid

WHERE ([BluePrism62AD-2].[dbo].[BPASession].sessionnumber in (
select max(sessionnumber) from [BluePrism62AD-2].[dbo].[BPASession] group by runningresourceid))


ORDER BY [BluePrism62AD-2].[dbo].[BPAResource].name DESC

------------------------------
Philip Trovato
------------------------------

HI Christian

"he http-Interface does not support SSO.
If you are on a Blue Prism version from 6.5.0 onwards you can use the automatec.exe first to get an authentification-token.
This token can then be paased to the http-Interface to authenticate."

do you know of any documentation for this.I havent found any . For a tocken via https I mean.

Cheers
​​

------------------------------
Andrei Cozma
Data
Zurich
Europe/Madrid
------------------------------