

SAP Intelligent RPA 2.0: Execute command activity
source link: https://blogs.sap.com/2021/08/09/sap-intelligent-rpa-2.0-execute-command-activity/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

The execute command activity allows you to launch commands or application during your workflow.
The Execute Command activity
The activity perform a ctx.shellexec and takes the following parameters:
- command
- parameters (optional)
- dir (optional)
- flag (optional)
With this activity we can start commands that will be started like a command line in the command run program that you can start with WIN + R on windows.
Here we write the string “Hello World” using the command “echo” into an output file
The activity also allows you to execute commands and launch application, for example you can start a script python as you can see in the following example.
Here we use the activity to launch a python script from a powerShell and redirect the output in a file.
Conclusion
With this activity, you can launch application or execute command in the workflow. To retrieve the output, of the activity, you can redirect the output to a file and read this file next.
Recommend
-
26
By: Aaron Bertrand | | Related Tips:More >T-SQL Problem In a previous ti...
-
17
Execute shell command in F# Updated: December 6, 2020 | 0 Comments #!/usr/bin/env -S dotnet f...
-
9
Technical Articles
-
15
Personal Insights
-
5
Event Information
-
10
Personal Insights
-
12
Technical Articles
-
10
Intelligent RPA – From Desktop Studio to Cloud Studio Hello, With the December 2021 release of SAP Intelligent Robotic Process Automation a solution is now available for boosting the transition from Desktop Stu...
-
6
Jerome GRONDIN December 22, 2021 3 minute read ...
-
7
Stuti Srivastava May 31, 2023 3 minute read
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK