CODE Execute a Shell Command function

The CODE Execute a Shell Command function in RPA.

Help CentreBuilding Processes

This article describes the RPA Code functionality to execute a Shell Command.

For a full list of available functions, please read CODE functions.


Description

The CODE Execute a Shell Command function allows you to execute a Shell Command.


Setting it up

To use the CODE Execute a Shell Command function, follow these instructions:

{{popups:rpas/add:action=shell-command}}

Once on a process map:

  1. Navigate to the process where you would like to add the CODE Execute a Shell Command function
  2. Click on the green button’s drop-down (right side of the green button labelled “Process”)
  3. On the menu that appears, click on the “+ Activity” item
  4. From here you can select the CODE Execute a Shell Command option
  5. Click "Add" once you are done

Input parameters

ParameterRequiredTypeDefaultDescription
CommandYesTextarea-The shell command to execute

Output variables

This action does not produce output variables.


Errors

ErrorDescription
Command failedThe shell command returned an error

Tips

  • Executes a shell/command line command on the bot
  • Use for system-level operations

Related functions

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.