# Check list sub task

The Check list control is a type of sub-task. A sub-task is a control that has its own element execution flow, similar to an app within the app, where the execution starts and ends within the same user step. To implement it, add a checklist control to a user step and then configure the sub-task element.&#x20;

The checklist control executes the sub-task when the user clicks on an item in the list.

Note - The output of the sub-task is available in the steps AFTER the user step where the sub-task is located.&#x20;

* **Title**\
  Text on the sub-task button in the user step button.
* **Icon**\
  The icon on the sub-task button in the user step.
* **Target Variable**\
  Enter the name of the output variable. The output from the sub-task will be stored in this new table variable.
* **Source**\
  Select a table from the list of available table variables. Each row in the result from the table variable will be a row in the checklist.
* **Row Variable**\
  Enter a variable name. This variable will hold the source data of the selected check list item and make the data available in the sub-task execution.
* **Sub Task Text**\
  The text on the check list item.
* **Pills**\
  The indicator on the sub-task.
* **Condition To Hide**

  Specify the condition that must be fulfilled for the control to be hidden. If left unspecified, the control will remain visible in the user step. Note that when controls are hidden, empty variables will be generated unless default values or pre-defined data exist.
* **Pre-Blurbs**\
  Information to the user, before executing a check list item.
* **Post-Blurbs**\
  Information to the user, after executing a check list item.
* **Reloading behavior**

  The control behavior at reloading, see [User step reloading](https://docs.novacura.com/flow-connect/reference/reference/steps/user-step#user-step-reloading).&#x20;

To add a sub-task to a user step, follow these steps:

1. Add a sub-task element to the user step and close the user step.
2. Connect the sub-task element to the user step.
3. Double-click on the sub-task element to open it.
4. Configure the sub-task element. All variables from the main app are available in the sub-task element.
5. Return data to the main app by configuring the End step in the sub-task element.

<figure><img src="https://1716064794-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIIgl6sNaTky0iALxYWHH%2Fuploads%2FNS9FMntKY5g50kA1x5uH%2Fimage.png?alt=media&#x26;token=acb3ff09-d628-4738-8a24-4a269e04af7d" alt=""><figcaption></figcaption></figure>
