Wait for a human
Wait for a human
Pauses the robot and waits for an operator to step in from Roberty Studio. The run only carries on when the operator confirms, or when the wait runs out.
Options
Wait time in seconds
How long, at most, the robot waits for the human before carrying on by itself. 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:
CONTINUEwhen the operator confirmed,TIMEOUTwhen the time ran out with no answer (text).
Rules and conditions
- The operator needs the robot visible in Roberty Studio to be able to confirm.
- 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
CONTINUEandTIMEOUTdifferently. - While it is paused, the device stays busy and runs no other robots.