Remote Desktop Action icon

Remote Desktop Action

Execute or queue actions on a remote desktop

app.close

AI-generated

Summary

Close a remote desktop application by PID

Inputs

  • mode — Execution mode: 'run' to execute immediately and return result, or 'build' to queue for batch execution
  • sessionId (required) — Session ID from a Session node identifying the remote desktop session
  • pid — Process ID of the target application to close; optional for app.close

Output shape

array of result objects

Each element corresponds to one input item and contains the API response JSON and pairing metadata; errors appear as objects with an error field when continueOnFail is enabled

Examples

Example 1: Close a remote desktop session immediately

mode = run, sessionId = {{$json.session.id}}, pid = 1234

Example 2: Queue close action for batch execution

mode = build, sessionId = {{$json.session.id}}, pid = 5678 (optional)

Discussion