Skip to main content
Roberty Studio
RPAMy robot

Wait human action

Wait human action

Pauses the robot and opens an interaction window for a human operator on the device that runs the robot. The run only carries on when the operator clicks the continue button in that window, or when the wait runs out.


Options​

Timeout (in seconds)​

How long, at most, in seconds, the robot waits for the human before carrying on by itself. The default value is 120. Use 0 to wait indefinitely until the operator answers.

Returns​

Javascript code​

js
actions["action-id"].result // how the interaction ended: "CONTINUE" or "TIMEOUT" (Text)

Field selection​

  • result — why the run resumed: CONTINUE when the operator confirmed, TIMEOUT when the time ran out with no answer (Text)

Rules and conditions​

  • The operator needs access to the device that runs the robot to click the continue button in the interaction window.
  • With the wait time at 0, the robot stays paused until someone answers — useful for approvals with no deadline.
  • Pair the result output with a Decision to handle CONTINUE and TIMEOUT differently.
  • While it is paused, the device stays busy and runs no other robots.
  • If the device cannot open the interaction window, the action fails right away with the error message reported by the device, without waiting for the timeout.