For file action in Prompt
- Updated: 2025/11/06
For file action in Prompt
The For file action in the Prompt package prompts you to select a single or multiple files on bot execution.
Settings
- In the Prompt window caption field, enter a window caption.
- In the Prompt message field, enter a message.
- In the Assign the value to a variable field, specify a list variable.
- Run your automation.
A dialog box opens up.
- Click Browse to select single or multiple files.

- When you click OK, the dialog box closes and the bot captures the selected file(s). The selected file path(s) are
then assigned to the output variable specified in the Assign the value to
a variable field of the action. Note: The output is stored in a list variable.
- When you click Cancel, the dialog closes without confirming a
file selection.Note: When you click Cancel when prompted for a value during execution, the bot assigns the variable with value as dummy value instead of leaving it null or empty.