---
title: Add Logic Flow
slug: lms/add-logic-flow
docTags: 
createdAt: 2022-04-24T04:37:41.000Z
---

## Logic flow

Using this feature, you can specify that the quiz end depending on the user’s score up to a given question.&#x20;

Look at the following example to understand what logic flow means.

![](https://api.archbee.com/api/optimize/sIThB0ZiqhR6tdk4fXm2D/lNdxqDuZR7vR9f8agoZb6_screenshot-2022-04-24-at-23758-pm.png "Example for Logic Flow")

If you set the conditions as shown above, the user's test will end after 3 questions are attempted and fewer than 2 questions are correctly answered. Likewise, the quiz will end for a user after questions 5 if fewer than 3 questions are correctly answered.

## How to add Logic Flow to a Quiz

1. After opening a Quiz, add **/logic-flow&#x20;**&#x61;t the end of the URL. If your URL after opening the quiz is **https\://socratease.co/cms/units/abcd** the new URL will be **https\://socratease.co/cms/units/abcd/logic-flow** It will appear as shown below.&#x20;
2. You can specify the conditions as needed.
3. To add more conditions in logic flow, click the **Add Condition** button.
4. You can create a new condition, or delete an existing condition. You cannot edit an existing condition.
5. **same** Question Number, Condition 1 will be evaluated. Condition 2 will be ignored.



![](https://api.archbee.com/api/optimize/sIThB0ZiqhR6tdk4fXm2D/dRcs_USCRNAHrwX7trqlH_screenshot-2022-04-24-at-30115-pm.png "Logic Flow screen after Quiz URL is modified")







