Good afternoon.
I was wondering if anyone has had any experience working with this particular robot. If so, I would appreciate seeing any examples you would be willing to share.
I am trying to find a way to launch a batch file using a workflow to act as the trigger. But I haven't been able to find any examples for this particular robot. In our application, I would like to be able to pass two workflow variables to a batch file and run it.
I would appreciate any hints. Thanks!
Steve
There is one OOTB example of in windchill. You can load those xml files using LoadFromFile command
http://www.ptc.com/cs/help/windchill_hc/wc102_hc/index.jspx?id=WFLaunchAppRobotFTP&action=show
http://www.ptc.com/cs/help/windchill_hc/wc102_hc/index.jspx?id=WFLaunchAppRobotSetEnviron&action=show
Attached is sample workflow to run the .bat file (stored at C:/TEMP/LauncgNotepad.bat ).
Hope this helps !!!
Thanks,
Shreyas
Hi Shreyas,
I tried an exact copy of the runBat file from above but I wasn't able to get it to work, is it possible that I need to change some permissions on the host machine?
Thanks,
Thank you Shreyas!
I'll take a look!
Hi STEVE RECTOR,
Here is small example I recently shared with jmccormick-4 on community for using Application Robot to run bat file.
I hope that help you.
Thanks,
Shirish