Purpose: Starts a desktop application.
Normal connected use
Start the connected executable with the entered arguments and optional working directory, then return an Application Text ID for later blocks in the current workflow run.
Inputs and settings
executable— Executable file:text; required; connect File output from an earlier block; the text contains its item ID;text.workingDirectory— Working directory:text; optional; connect Folder output from an earlier block; the text contains its item ID;text.arguments— Arguments:list; optional.waitForWindowMs— Wait for window (ms):number; optional;number.
A present connector value always wins over the saved setting, including false, 0, or empty text. A present malformed value produces an input error and never falls back to a setting or default.
Visible settings
| ID | Label | Control | Default |
|---|---|---|---|
arguments | Arguments | textarea | "[]" |
waitForWindowMs | Wait for window (ms) | number | 15000 |
Outputs
application— Application;text.launched— Launched;boolean.fire— is emitted only after all required outputs are valid.
What happens when it runs
This block runs on this computer through the installed add-on. It accepts connected outputs only from the current workflow run.
- The executable and optional working directory must be current file/folder references from this run. Arguments are passed directly to the process; no shell is used.
- If the requested application window does not appear in time, Nodestly stops the process it started before reporting the timeout. Nodestly also stops that process when its Application item is released while it is still running.
Error handling
- Missing, wrong-type, or invalid input stops at this block and names the input or setting to correct.
- If a connected output is no longer available or contains the wrong kind of item, run the earlier block again and reconnect its new output.
- A requested confirmation starts on Cancel. If you cancel, the block makes no change.
- If a required Windows or Nodestly feature is unavailable, the block stops with a clear message that explains what to do.
- If an application window does not appear in time, increase Wait for window or set it to
0for an application without a window. The started process is already stopped after this timeout. - Fire and partial outputs are not emitted after failure. Messages refer only to inputs, settings, resources, the target application, or Windows features the user can check.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
arguments | Arguments | textarea | [] | — |
waitForWindowMs | Wait for window (ms) | number | 15000 | — |
