# Force Criteria to Use Only the Answers from the Current Session

**URL:** <https://forum.avicennaresearch.com/t/force-criteria-to-use-only-the-answers-from-the-current-session/1367>\
**Category:** How-To\
**Tags:** how-to:activity\
**Created:** [July 30, 2025, 9:53am UTC](https://forum.avicennaresearch.com/t/force-criteria-to-use-only-the-answers-from-the-current-session/1367 "2025-07-30T09:53:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![somayeh](https://forum.avicennaresearch.com/letter_avatar_proxy/v4/letter/s/bbe5ce/32.png) [@somayeh](https://forum.avicennaresearch.com/u/somayeh)\
**Post date:** [July 30, 2025, 9:53am UTC](https://forum.avicennaresearch.com/t/force-criteria-to-use-only-the-answers-from-the-current-session/1367/1 "2025-07-30T09:53:49Z")

</div>

In experience sampling or longitudinal studies, researchers often want to show or hide questions based on how a participant answered earlier in the same [session](https://forum.avicennaresearch.com/t/activity-sessions/1235). By default, however, Avicenna looks at all corresponding sessions (including the current one) for finding the last existing response submitted by a participant, not just the current session. This behavior is part of the [criteria system](https://forum.avicennaresearch.com/t/criteria/1236) and might cause some unwanted flows.

In this article, we’ll show you how you can make sure your criteria references the answers from the current session only.

> [!note] General Idea  
> When evaluating a criteria, Avicenna won’t consider a question’s response in a session if the question was not shown. This can happen if the question is disabled, its criteria is not met, its section is not shown for any reason, etc. Dependent questions may then behave as if the question still holds an old response (from previous sessions) unless your logic explicitly blocks this.

## The Situation

You’re running a daily mood check-in. If a participant specifies that they are emotionally overwhelmed, you want to ask the follow-up questions in the same session without affecting the future sessions of the same survey. And some of those follow-up questions depend on each other too.

## What to Do?

1. **Identify your current logic setup.** For example:

2. **Update dependent question criteria to include the full condition chain.** Change Q5’s criteria from:

3. **Make Q1 mandatory and make sure it’s always shown to the participant.** This is essential because Avicenna needs to know if Q1 was answered in the current session to determine whether to show Q2.

4. **Apply the same pattern to all dependent questions.** For example:

5. **(Optional) Use parentheses for clarity.** For example:

6. **Preview and test your flow.** Answer Q1 with both possible options and verify that:
