# Issue with Logic - Assessment Attempts all used

**URL:** <https://community.evolveauthoring.com/t/issue-with-logic-assessment-attempts-all-used/1998>\
**Category:** General Help\
**Created:** [November 9, 2022, 1:55pm UTC](https://community.evolveauthoring.com/t/issue-with-logic-assessment-attempts-all-used/1998 "2022-11-09T13:55:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Joel](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@Joel](https://community.evolveauthoring.com/u/Joel)\
**Post date:** [November 9, 2022, 1:55pm UTC](https://community.evolveauthoring.com/t/issue-with-logic-assessment-attempts-all-used/1998/1 "2022-11-09T13:55:11Z")

</div>

Hi, All hoping someone might be able to help with a Logic issue in Evolve.

We want to create a logic that will trigger a pop-up message if the learner, uses all 3 attempts of the assessment and has still not passed. But I have been through all the triggers and none seem to work for this. I need a trigger when the learner has used all attempts but not passed.

Is this an option in Logic or is there another way of doing this?

Thanks.

---

<div class="post-metadata">

**Author:** ![id3](https://avatars.discourse-cdn.com/v4/letter/i/5f8ce5/32.png) [@id3](https://community.evolveauthoring.com/u/id3)\
**Post date:** [November 9, 2022, 3:47pm UTC](https://community.evolveauthoring.com/t/issue-with-logic-assessment-attempts-all-used/1998/2 "2022-11-09T15:47:05Z")

</div>

Hi there,

maybe try something like this:

Logic \> Dialogs  
Set up a pop up dialog.

Logic \> trigger  
Set a tigger to ‘show logic dialog’

 ![logic](https://canada1.discourse-cdn.com/flex031/uploads/evolveauthoring/original/2X/c/cc5b93150f532f4ebfff39bc0b9239474d26153a.png)

---

<div class="post-metadata">

**Author:** ![Sam\_Cook\_Evolve\_LQA](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/sam_cook_evolve_lqa/32/902_2.png) [@Sam\_Cook\_Evolve\_LQA](https://community.evolveauthoring.com/u/Sam_Cook_Evolve_LQA)\
**Post date:** [November 9, 2022, 4:08pm UTC](https://community.evolveauthoring.com/t/issue-with-logic-assessment-attempts-all-used/1998/3 "2022-11-09T16:08:28Z")

</div>

Thanks ID3 - that was my first thought, but unfortunately that triggers the dialog as soon as you fail the first attempt.

My dev colleagues have suggested another approach, I am testing it to see if it works, will report back here when I know,

---

<div class="post-metadata">

**Author:** ![Sam\_Cook\_Evolve\_LQA](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.evolveauthoring.com/sam_cook_evolve_lqa/32/902_2.png) [@Sam\_Cook\_Evolve\_LQA](https://community.evolveauthoring.com/u/Sam_Cook_Evolve_LQA)\
**Post date:** [November 10, 2022, 10:28am UTC](https://community.evolveauthoring.com/t/issue-with-logic-assessment-attempts-all-used/1998/4 "2022-11-10T10:28:37Z")

</div>

Joel, There is a way to do it, you need to set up two logic triggers. Have screenshotted below, but here’s the description also:  
Trigger 1  
Event: Course Assessment Failed  
Action: Increase Variable By Value  
(you will need to create a numeric variable with the value of 0 to reference here) Set the value as 1  
Trigger 2  
Event: Variables Changed  
Variable: set as the numeric one created for this purpose  
Actions: Show Logic Dialog

The only slight issue is your logic dialog will appear before the final assessment results pop up.

 ![1](https://canada1.discourse-cdn.com/flex031/uploads/evolveauthoring/original/2X/b/b368c74064a2da3d8e5aa6a4c010d33f0c5d943d.jpeg)  
 ![2](https://canada1.discourse-cdn.com/flex031/uploads/evolveauthoring/original/2X/a/a55c88e01291b64ba0d6f8694bdeb2c385e4661f.jpeg)

---

<div class="post-metadata">

**Author:** ![Joel](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@Joel](https://community.evolveauthoring.com/u/Joel)\
**Post date:** [November 15, 2022, 10:48am UTC](https://community.evolveauthoring.com/t/issue-with-logic-assessment-attempts-all-used/1998/5 "2022-11-15T10:48:57Z")

</div>

Hi Sam

Thank You! Yes I have tired this and it works perfectly.

Thanks  
Joel
