Remote Desktop Action icon

Remote Desktop Action

Execute or queue actions on a remote desktop

system.wait

AI-generated

Summary

Waits for a specified number of seconds in a remote desktop session.

Inputs

  • sessionId (required) — The ID of the remote desktop session, typically from a Session node.
  • seconds — Number of seconds to wait. Defaults to 0 if not provided.
  • mode (required) — Determines execution timing. 'run' executes the wait immediately; 'build' adds the wait to a queue for later batch execution.

Output shape

depends on mode

When mode is 'run', the node returns the raw API response from executing the wait action on the session. When mode is 'build', the node returns an object containing the session ID, the updated list of queued actions, and the total count of queued actions.

Examples

Example 1: Immediate wait

sessionId from previous node, seconds = 5, mode = run

Example 2: Queued wait for batch

sessionId from previous node, seconds = 10, mode = build

Discussion