Run external processes.

Parameters:
See dedicated page for more information.
See dedicated page for more information.
The runProcess action does basically the same thing as the runPipelines action. The main difference is that it allows running any executable instead of just ETL-Data-Transformations. You can use the Javascript code of the runProcess action as a “template” to start designing your own “tasks automation” (also called “task scheduling”).
This action does not require an upstream table. It only uses its parameters.
Accepted executables:
.bat, .cmd, .ps1, .sh, compiled binaries).> currentDir+"/test.bat").Accepted working directories:
assets/, temporary data/ (e.g., temp/), recorded data/@shared/)Depending on Execution mode and capture options:
Run detached
The node launches the process and returns immediately.
Data shows one row: ErrorLevel = Detached. (No Stdout.)
Run and wait for termination
The node waits for exit and writes one row to Data:
ErrorLevel = process exit code (0 = success)Read back text from console
The node waits and captures standard output. Data contains:
ErrorLevel — exit codeStdout — captured console text (single cell or one row per line, depending on runner)Optional file output:
records/out.txt) using the chosen File encoding.Where to find results:
ErrorLevel / Stdout.records/.Prepare the script or program
Place your executable in the selected working directory (e.g., drop test.bat into temp/), or reference a fully-qualified path.
Add and configure runProcess
> currentDir+"/test.bat"a btemporary data → temp/records/out.txt and File encoding: utf-8
Run and verify
ErrorLevel / Stdout.records/out.txt, download it from Records..bat/.sh logic that isn’t available as a built-in action.Save File: cannot open file 'records/out.*' for write
Wildcards are not allowed when specifying File to write. Use a concrete filename, e.g., records/out.txt.
No console text captured
Switch Execution mode to read back text from console (or run and wait if you only need the exit code). Ensure idConsoleEncoding matches the program’s output.
Executable not found
Verify the file exists in the chosen Working Directory, or provide an absolute path. When using a JavaScript expression (prefixed with >), confirm the expression resolves to the correct path (e.g., currentDir).
Quoting/parameters
Wrap parameters with spaces in quotes. Example:
idParams: "C:\Program Files\My App\tool.exe" --flag "some value"
Permissions
The runner must have OS permissions to execute the file and to write to the target folder (e.g., records/).
