Question
How to integrate Pega Robotics with Windows application having multiple parameters in its path.
Hi,
I'm facing issue with integrating windows application XYZ application. Below are observed in its application desktop shortcut properties windows.
Target: ("P1" "P2" P3) "C:\Program Files (x86)\ABC\Programs\jw9c.exe" "C:\Program Files (x86)\ABC\CONTROL\MHS.JWC" /etelnet /hWDCA1ACC.SYS.XYZ.COM
Start in: "C:\Program Files (x86)\ABC\Runtime\"
This application is developed using rocket software.
I tried in following ways by passing
1.application target and start in paths in windows adapter target path and path
2. Target (P1) to adapter path; target(P2) to adapter target path & target(P3) to arguments.
Neither of the above options worked for me. Could some please suggest with such applications.
Thanks,
You have the adapter properties incorrect.
Path - This is where you'd place the path to the exe that your adapter is launching.
TargetPath - This is only used if the application in the Path launches another application and you wish to hook only that application (and potentially its children). This is only used with the StartMethod of StartAndWait.
Arguments - This is where you'd include any command line arguments required to launch the application specified in the Path property. Basically, anything on the command line after the exe.
In your example, it appears you have an odd command line in that arguments come first. I don't believe that is valid. Are you able to paste that into a command window and launch the application from there? You can use a tool like Process Explorer to help determine the arguments used when an application is launched. I would suggest that you examine the application with Process Explorer to determine how it is launched.
Aside from the first part of your command line (Target: ("P1" "P2" P3)), it looks pretty straight-forward. I'll leave that off as I believe that is either a typo or I am missing something that would require some hands on.
Path: "C:\Program Files (x86)\ABC\Programs\jw9c.exe"
Arguments: "C:\Program Files (x86)\ABC\CONTROL\MHS.JWC" /etelnet /hWDCA1ACC.SYS.XYZ.COM