# Wait

When **Wait** is reached in your application's process flow, it waits a specified period of time (or indefinitely) for a specified *Task* to complete.

***

## Properties

### Task

The task to wait for.

### Use timeout

If selected, wait until a specified timeout has elapsed.

If not selected, the wait will be indefinite.

### Timeout

Timeout in milliseconds. This is how long the process flow will wait before proceeding.

Only displayed when *Use timeout* is selected.

***

## Definition

When *Use timeout* is selected, the *Wait* boolean variable becomes available. It indicates whether the [Task](#task) completed or not.

{% hint style="info" %}
No errors are returned with *Use timeout*.
{% endhint %}
