Question
RBC
CA
Last activity: 1 Mar 2017 22:39 EST
How to attach to a running windows application or open web site
I have a requirement where a windows application (abc.exe) is open on a desktop, and then an RDA starts sometime afterwards. How do I cause the adapter project to find and attach the exist application, and then use it's designed interactions. I know how to do it the RDA starts abc.exe, but the requirement is to attach to running application (it can be considered a single instance).
The same requirement would be to attached to a browser window that is already at specific site (ex: www.https://www.google.ca/?gws_rd=ssl#q=funny+jokes&*). Again we can treat as only single instance running of the site.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Pega Robotics cannot hook into an already running process. You can use the StartMethod property of MonitorAll to hook into an application whenever it is launched, but the adapter must be running first and listening for the application to start.
RBC
CA
What? That's not good.. Can I do something using a .dll to return a window's handle and attach that? I cannot control user behavior, to leave a robot running all the time, or start a robot before starting a specific application. I'm also told that the MonitorAll hook is processor intensive property. Always having that enabled does not make practical sense on a user's desktop. For an RPA it's not a big deal. For RDA its a big deal...
Comments are welcome...
regards,
Rob
Pegasystems Inc.
US
We normally provide a way to start and stop the application and educate the users on this requirement. You then start the RDA application when the user logs in. They can use it to start the applications you are automating instead of trying to piggy back onto them later. The product just doesn't do what you are asking but there are ways to handle it.
RBC
CA
Ya, there are ways to handle it, but my challenge is changing user behaviors to leaving products running ont their desktops. Unfortunately, users tend to shutdown applications all the time, and reminding them to restart the RDA may create a negative experience.. Can you tell me if there is path that I can request a Pega enhancement to support this very useful feature in a future release?
thanks Rob
Pegasystems Inc.
US
Look at the StartMyDay component.
It has a ShowStartDialog method which presents a dialog for users to start applications under robotics control.
There is also a ShowDialog method to display a dialog for managing which applications are started.
RBC
CA
It all well and good that users could use StartMyDay component. The challenge is to change user behavior.. if it's a few users that's okay, but my deployments are 1500+ users.. If I use the approach above, I need very close to 100% adoption. Otherwise it will be a support nightmare. That's my fear, and why I need to inquire how/when Pega will add an "attachProcess" functionality.. It would make the tool more flexible in implementing an as needed Bot versus you have to start the Bot at the begining of a day and leave it running.. How can I place a platform enhancement request? It just seems soooo natural as a need.
regards Rob..
Pegasystems Inc.
US
Rob,
You can put in a SR as a feature request. I don't speak for the development team, but this feature I believe would be a very major product change that would be unlikely to be implemented anytime soon. Educating your users is an important part of the process when adding automation into a process. Without proper education the automation will not be utilized fully or properly. You can obviously code your solution to remind the users when they try to use the automation and have not started the applications properly. This would help in changing the behavior.
Jeff
Updated: 1 Mar 2017 22:39 EST
Pegasystems Inc.
IN
Hi Rob,
Please let us know if you do log an SR for this and its ID. That way we can track it and follow-up this discussion with the resolution.
This FAQ could help you with that: My Support Portal explained for Pega Robotic Automation (formerly OpenSpan)
Thanks!