Skip to main content

Open App

Makes sure the window this flow needs is on screen โ€” launching the program only if it is not already there.

Only in Desktop Mode; in the emulator workspace, starting apps is the Dashboard's job and this node is not offered.

Requirementsโ€‹

A desktop flow. The node's own Execution Context describes which window counts as "there" โ€” the same description every other node uses, so there is no second place for the two to disagree.

How this node runsโ€‹

  1. Check first. If a window matching the node's Execution Context already exists, route Success immediately โ€” nothing is launched.
  2. Otherwise start Executable with Arguments.
  3. Wait โ€” up to Timeout โ€” for the described window to appear, then route Success.

Two details of that order matter more than they look:

  • Checking first is not an optimisation. Without it, the second run of the flow would open a second copy of the application, and a window description that matched exactly one window on run one would be ambiguous by run two โ€” failing every later node for a reason that looks nothing like its cause.
  • The wait is for the window, not the process. Chrome, Explorer and the Office apps all start by handing off to an already-running instance and exiting โ€” a node that watched the process it spawned would report failure while the requested window was opening in front of you.

Settingsโ€‹

SettingTypeRangeDefaultWhat it does
Executablestring1โ€“500 charsโ€”Required. The program to start โ€” a full path, or a name on PATH
Argumentslist of stringsโ‰ค 32 entriesโ€”Command-line arguments, one per entry
Timeoutinteger1000โ€“300000 msโ€”How long to wait for the window. Generous is free: the node returns the moment the window appears
Wait afterinteger0โ€“60000 msโ€”Pause after the window is found โ€” most apps need a beat before their UI is ready

Portsโ€‹

PortTaken whenRequired
SuccessThe described window is on screen โ€” found or freshly launchedYes
FailureThe program could not be started, or the window never appeared (APP_LAUNCH_FAILED)No
CancelledThe run was stopped while waitingNo โ€” never followed
FatalInvalid configurationNo โ€” never followed

Basic exampleโ€‹

Make sure Notepad is up before typing into it:

  • Executable: notepad.exe
  • Execution Context: Specific window, process notepad.exe

Every later node that names the same window can now assume it exists.

Common mistakesโ€‹

MistakeWhat happensFix
A window description that stays emptyMatches nothing โ€” the node launches a fresh copy every runDescribe the window: a process name is usually enough
Describing the window by its exact titleBreaks the moment the app changes its title (a browser changes it per tab)Match on process name or executable; use a title fragment only when one process owns several windows
Acting immediately after SuccessThe window exists but its UI is still loadingSet Wait after, or better, verify the element you need
A path that only exists on your PCAPP_LAUNCH_FAILED on every other machinePrefer names on PATH, or keep the path in a Flow Input
  • Click ยท Input Text โ€” what usually comes next
  • Find Image โ€” verify the app is ready, not merely open
  • Sub Flow โ€” put Open App at the top of a reusable "bring the app up" routine