- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-10-20 05:27 PM
I am referring to the page:
https://bpdocs.blueprism.com/bp-6-8/en-us/helpResourcePCCommands.htm?tocpath=Interface%7CAdvanced%20options%7C_____4
I can see that BP provides various resource PC commands including creating and running a session via api.
To run a process in resource PC we need to pass a token which we will get via the /getauthtoken command as mentioned in the above page.
But I am getting an invalid parameter error when I pass the request as below:
Request : http://192.168.0.123:8181/user%20name%20admin&password%20admin321&getauthtoken%20C7FXXXXX-XXXX-4804-9AAD-5284E5XXXXXX%20admin321
C7FXXXXX-XXXX-4804-9AAD-5284E5XXXXXX is the user ID
Response :
USER SET
USER AUTHENTICATED
INVALID PARAMETERS
Can someone tell me what is wrong here?
I have also checked various other options below:
Request:
http://192.168.0.123:8181/user%20name%20admin&password%20admin321&getauthtoken%20name%20admin%20admin321
Response:
USER SET
USER AUTHENTICATED
Guid should contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
I have passed the user name instead of user ID still it does not work.
Can someone help me with this?
------------------------------
Sandeep C
IPA Specialist
Telstra
Asia/Bangalore
------------------------------
Answered! Go to Answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-06-21 02:49 PM
Ok, so after you get the auth token in AutomateC what sequence of commands are you using in the browser/telnet? Here's the general flow I use to delete a pending session across different interaction channels.
From the Browser Only
http://127.0.0.1:8181/user%20name%20[USERNAME]&password%20[USER PASS]
http://127.0.0.1:8181/proclist
http://127.0.0.1:8181/status
http://127.0.0.1:8181/getauthtoken%20[PROC ID]%20[USER ID]%20[USER PASS]
http://127.0.0.1:8181/deleteas%20[AUTH TOKEN]%20[PEND SESSION ID]
Telnet Only
telnet 127.0.0.1 8181
user name [USERNAME]
password [USER PASS]
proclist
status
getauthtoken [PROC ID] [USER ID] [USER PASS]
deleteas [AUTH TOKEN] [PEND SESSION ID]
It looks like the token created with AutomateC using the /getauthtoken option can only be used with the internalauth command on the browser or telnet connection.
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-06-21 03:56 PM
thank you for the step by step instructions. Telnet seems to work now. This telnet workflow works for me:
elnet 127.0.0.1 8181
user name [USERNAME]
password [USER PASS]
proclist
status
getauthtoken [PROC ID] [USER ID] [USER PASS]
deleteas [AUTH TOKEN] [PEND SESSION ID]
[USER PASS] was not required.
The browser flow seems not to work for me. As result for the deleteas and proclist commands I always get the response message "USER NOT SET".
The getauthtoken and status commands work fine.
Cheers,
------------------------------
S D
consultant
NoName
Europe/London
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-06-21 04:14 PM
On the browser side, after the very first line did you see USER SET and USER AUTHENTICATED in the browser window?
Cheers,
------------------------------
Eric Wilson
Director, Partner Integrations for Digital Exchange
Blue Prism
------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
24-06-21 10:10 AM
yes i get the messages and it seems that the user is authenticated. But for the two commands proclist and deleteas I always get the response message "USER NOT SET".
Cheers
------------------------------
S D
consultant
NoName
Europe/London
------------------------------

- « Previous
-
- 1
- 2
- Next »