# Decision tree

{% hint style="info" %}
A **decision tree** is a sequence of questions and information that allows users to follow a specific path to obtain a specific result, diagnosis, or answer.
{% endhint %}

### Access a decision tree from Live application

To the left of the "Play" button in the CogNeed app is the icon for accessing decision trees. Click it, and the app window expands to reveal the "decision trees" section.

In this section, 3 actions are possible:

1. Search through the various trees available in the project.
2. Click on a tree to launch it.
3. Expand the decision trees section to cover the main screen by clicking the icon to the left of "All Trees."

<figure><img src="https://160715368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFCbypPSQCx2ezWjFUPY%2Fuploads%2F4YcockQzsIzT7FzRGQ04%2Fimage.png?alt=media&#x26;token=fca61fca-e322-422b-b772-e2247c55236c" alt=""><figcaption></figcaption></figure>

### At the end of the decision tree

Once all the steps have been completed, you arrive at the conclusion of the decision tree. The last leaf appears and includes a result, a diagnosis, instructions, or relevant information.\
Below, on a gray background, you can see the step-by-step progression of the tree, as well as the notes you took.

<figure><img src="https://160715368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFCbypPSQCx2ezWjFUPY%2Fuploads%2F1yHAfeyeACG31YJuVBjF%2Fimage.png?alt=media&#x26;token=11cf0b2d-f311-496b-af2f-e5fcd7b2b462" alt="" width="563"><figcaption></figcaption></figure>

At this point you have the option to:

<figure><img src="https://160715368-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRFCbypPSQCx2ezWjFUPY%2Fuploads%2F03bbr7o1JUDZAKakFghj%2Fimage.png?alt=media&#x26;token=d0c88491-a8ac-4a9f-b2df-220a8905bdf5" alt=""><figcaption></figcaption></figure>

* **Modify** one of the previous steps and resume the tree from that step.
* **Copy summary**: Everything you see in the tree flow report (result and tree flow) will be copied.
* **Generate report**: *If your organisation has subscribed to CogNeed Advanced*, you have the option to generate a summary of all the information obtained in the tree, including the notes. You will then have the option to copy this summary.
* **Restart** the tree from scratch.
* **Terminate** this tree and return to the decision tree selection screen.

{% hint style="danger" %}
It is <mark style="color:red;">**IMPORTANT**</mark> to <mark style="color:red;">**terminate**</mark> the decision tree you are on before starting another one.
{% endhint %}
