By default PegaRobotics supports all .Net libraries. You can include the following c# code in the script component [Place the script component in the Global Container] to call a bacth file [Included the screenshot for your reference]. Hope this answered your question.
System.Diagnostics.Process proc = new System.Diagnostics.Process();
Thanks for your reply. I am able to add the script file. I just added very simple script which create a directory. I am not able to see any output after executing this automation. I am not sure is it calling the script and is it failing somewhere. If I am missing something can you please
Thanks for your reply. I am able to add the script file. I just added very simple script which create a directory. I am not able to see any output after executing this automation. I am not sure is it calling the script and is it failing somewhere. If I am missing something can you please help to resolve the issue.
I am not clear about how you have tried to invoke the activity. But the solution that I have given earlier will work. I strongly recommend you to use the c# scripting within the robotics studio, instead of writing the scripts externally and calling them from the robotics framework.
Pega robotics is tightly integrated with the .net framework and you can achieve almost all the functionalities that you perform using the external executable files.
However, just to answer your question about how to achieve the functionality to call the external executable, I have created the script for you. Please see the screenshots attached.
Screen shot 1: Automation flow [Invoked the script using the button click event, you can use any other event to trigger the script]
Screen shot 2: Actual script to invoke the external batch file [Make sure you are passing the reference in the reference section. Also click validate button to check that you do not see any errors in the script]
Screen Shot 3: Code of the external batch file that I am invoking from automation
Thank you very much for more helpful information about the existing methods. Can you please help us where we can get any documentation or help about existing methods/OOTB functions information. For us its new and we may not know which library is useful for which functionality.
What Jeff showed were static .Net methods available to any .Net project. Those can be found on MSDN. As for Pega Robotics (OpenSpan) specific documentation, aside from PDN, you should go to help.openspan.com. It contains a fairly comprehensive inventory of our components and various examples you might use.
i have come across a major problem while designing complex footprints in Altium(which includes copper shapes and paste mask) is not being properly exported to other tools. i cannot find the exact footprint in other tools after import either with missing copper shapes or paste mask or color.
i would like to have a good solution for this either through scripting or any tool automation.