I have created a script in .ps1 to which you pass an argument and it creates an Excel file with argument + current date (I do more things inside the script, but for this I need the argument).
At the beginning of the script I check that the argument is passed.
param (
[string]$nombre_robot
)
# Verificar que se ha proporcionado el nombre del robot
if (-not $nombre_robot) {
Write-Host "Debe proporcionar el nombre del robot como argumento."
exit 1
}
If I execute the script from the terminal it works perfectly .
![]()

I have configured the script in OpenRPA by passing it the same argument.
But the script indicates in the validation that no arguments have been passed.

