Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-05-22 12:23 PM
Hi Team,
I see and 'action' command in a list of Resource PC command list, The description for which is
Either 'action <sessionid> <actionname>' to run an action on the specified session, or 'action last <actionname>'
to run an action on the last session created on this connection. The response is 'STARTED' or an error code.
From the description I was not able to identify what the command does, if anyone has used it please let me know the purpose of it.
Thanks
------------------------------
Gopal Bhaire
------------------------------
Answered! Go to Answer.
1 BEST ANSWER
Helpful Answers
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-05-22 02:41 AM
Hi @GopalBhaire,
@John Carter is correct on both points. The documentation is not helpful and the action command is used to run an action on a VBO. So the general steps would be:
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
@John Carter is correct on both points. The documentation is not helpful and the action command is used to run an action on a VBO. So the general steps would be:
- Login via the HTTP interface (ex. http://loalhost:8181/user name jdoe&password NotSecure)
- Create a new session (ex. http://loalhost:8181/create name MyObject)
- There are different forms to this. I find this one is easier as it just takes the name of the VBO as opposed to it's ID.
- Call an action on the VBO (ex. http://localhost:8181/action abe74fef-c9db-4992-8e12-07a68d113fd0 MyTestAction)
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
09-05-22 06:05 PM
It's not the most helpful explanation is it? If I remember correctly it relates to calling a business object via HTTP, where you create a session and get the session ID in return, then use that to call VBO actions.
------------------------------
John Carter
Professional Services
Blue Prism
------------------------------
------------------------------
John Carter
Professional Services
Blue Prism
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-05-22 02:41 AM
Hi @GopalBhaire,
@John Carter is correct on both points. The documentation is not helpful and the action command is used to run an action on a VBO. So the general steps would be:
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
@John Carter is correct on both points. The documentation is not helpful and the action command is used to run an action on a VBO. So the general steps would be:
- Login via the HTTP interface (ex. http://loalhost:8181/user name jdoe&password NotSecure)
- Create a new session (ex. http://loalhost:8181/create name MyObject)
- There are different forms to this. I find this one is easier as it just takes the name of the VBO as opposed to it's ID.
- Call an action on the VBO (ex. http://localhost:8181/action abe74fef-c9db-4992-8e12-07a68d113fd0 MyTestAction)
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
10-05-22 06:20 AM
Thank you @ewilson & @John Carter this really does help.
------------------------------
Gopal Bhaire
------------------------------
------------------------------
Gopal Bhaire
------------------------------
