Robotic Process Automation (RPA)

Robotic Process Automation (RPA)

Come for answers. Stay for best practices. All we’re missing is you.

 View Only
  • 1.  How to call a python program from IBM WDG

    Posted Fri July 02, 2021 08:33 AM
    Hi Team, 

    I am new to IBM WDG, could any of you please guide me how to call python program from IBM RPA WDG.

    Thanks in advance for you help

    ------------------------------
    Pintu Shaw
    ------------------------------


  • 2.  RE: How to call a python program from IBM WDG

    Posted Fri July 02, 2021 09:26 AM
    Hi Pintu,

    You could do this in two ways:

    1 - Expose your Python program via a REST API and invoke it using the HTTP Request.  See https://www.ibm.com/docs/en/rpa/20.12?topic=web-http-request
    2- Invoke Python by running a DOS command.  You can pass in parameters to the script in the invocation string.  See https://www.ibm.com/docs/en/rpa/20.12?topic=scripting-run-windows-script

    You could also invoke Python via Windows Powershell and DOS scripts.  https://www.ibm.com/docs/en/rpa/20.12?topic=windows-scripting

    ------------------------------
    NIGEL CROWTHER
    ------------------------------