# If Execute Task

The bool value of each element is evaluated, and the node to which the first true element is connected is executed.

## Properties

Property name | Type | Description
--- | --- | ---
Conditions | List of `IfCondition` | List of boolean values and ExecutePort to judge. Determine in order from the top, and if Input is true, execute the node connected to Then. Input InputField of boolean value to judge Then OutputExecutePort executes the destination node when Input is true
Else | OutputExecutePort | Executes when none of the conditions in Conditions are met.
Switch On Execute | `InputField<bool>` | Whether to check and switch input values ​​during execution.
Restart On Continue | Specifies whether to restart from the destination node when the execution destination reaches Continue. |

Depending on the node you are using, additional properties may be added.
See TaskComponent for details.