# Task\<Type>

**Task\<type>** can be used to store data returned by a **RunTask** function.

This is especially useful when RunTask is performed out of scope from the rest of the process flow, e.g. when inside an *IfElse* loop. By using a **SetValue** function to assign the returned data to a **Task** that is outside of the *IfElse* loop, the data becomes in scope to the rest of the process flow.

***

### Task\<type> Properties <a href="#tasktype-properties" id="tasktype-properties"></a>

#### Type <a href="#type" id="type"></a>

Select the type for the *Task*.

Click the editor icon to select a type from the list.

***

### Definition <a href="#definition" id="definition"></a>

**Task\<type>** hold the following values:

* Task
  * Result *(String)*
  * Id *(Int32)*
  * IsCompleted *(Boolean)*
  * IsCompletedSuccessfully *(Boolean)*
  * IsFaulted *(Boolean)*
  * Error *(String)*
