# Skip a routine when two routines both have time limitation

**URL:** https://discourse.psychopy.org/t/skip-a-routine-when-two-routines-both-have-time-limitation/42774
**Category:** Online experiments
**Created:** [November 1, 2024, 1:44am UTC](https://discourse.psychopy.org/t/skip-a-routine-when-two-routines-both-have-time-limitation/42774 "2024-11-01T01:44:26Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Su\_Wang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/su_wang/32/40563_2.png) [@Su\_Wang](https://discourse.psychopy.org/u/Su_Wang)
#### Post date: [November 1, 2024, 1:44am UTC](https://discourse.psychopy.org/t/skip-a-routine-when-two-routines-both-have-time-limitation/42774/1 "2024-11-01T01:44:26Z")

</div>

URL of experiment:  
(Hard to share the URL because it’s a voice task)  
Description of the problem:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/a/e/aee1eddccb643f193a50bd802733cb38bf6ee824.png)  
When running the task locally, two routines can display one after the other normally. They are in a loop. However, when I publish the task on Pavlovia, the second routine for feedback was totally skipped. No feedback was shown on the screen. I wonder why.

---

<div class="post-metadata">

### Author: ![Su\_Wang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/su_wang/32/40563_2.png) [@Su\_Wang](https://discourse.psychopy.org/u/Su_Wang)
#### Post date: [November 1, 2024, 1:47am UTC](https://discourse.psychopy.org/t/skip-a-routine-when-two-routines-both-have-time-limitation/42774/2 "2024-11-01T01:47:23Z")

</div>

Have you solved this issue?  
It happened to me, too. And I’ve just found this problem today with a new task. It never happened with previous version. Things like if two green routine (with time restriction) are displaying together, the online task will jump the second one.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/a/e/aee1eddccb643f193a50bd802733cb38bf6ee824.png)  
Or could any expert help us?

---

<div class="post-metadata">

### Author: ![Su\_Wang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/su_wang/32/40563_2.png) [@Su\_Wang](https://discourse.psychopy.org/u/Su_Wang)
#### Post date: [November 1, 2024, 1:59am UTC](https://discourse.psychopy.org/t/skip-a-routine-when-two-routines-both-have-time-limitation/42774/3 "2024-11-01T01:59:08Z")

</div>

![image](https://us1.discourse-cdn.com/flex002/uploads/psychopy/original/3X/4/d/4d38787a067dac7e154544f111ded80b9c216734.png)

---

<div class="post-metadata">

### Author: ![Su\_Wang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/su_wang/32/40563_2.png) [@Su\_Wang](https://discourse.psychopy.org/u/Su_Wang)
#### Post date: [November 1, 2024, 5:36am UTC](https://discourse.psychopy.org/t/skip-a-routine-when-two-routines-both-have-time-limitation/42774/4 "2024-11-01T05:36:30Z")

</div>

I have a different issue with routine skipping.  
So I have to time out the first routine in 3 second, and the second routine is a 1-second feedback routine. There’s no key response and I can’t use a key response or mouse response. The response is made by voice. So in my case, the feedback routine is always skipped automatically.  
Is there a good way to fix it and show the feedback screen to participants?

---

<div class="post-metadata">

### Author: ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)
#### Post date: [November 1, 2024, 7:11am UTC](https://discourse.psychopy.org/t/skip-a-routine-when-two-routines-both-have-time-limitation/42774/5 "2024-11-01T07:11:01Z")

</div>

Are you using 2024.2.3?

> [@Online timing issue with 2024.2.3 -- upgrade to 2024.2.4 today](https://discourse.psychopy.org/t/online-timing-issue-with-2024-2-3-upgrade-to-2024-2-4-today/42703):
>
> If you are running experiments online, and currently have version 2024.2.3, then I strongly recommend that you upgrade to [2024.2.4](https://github.com/psychopy/psychopy/releases/tag/2024.2.4) which fixes a non-slip timing issue that was causing routines to get skipped. There may still be some issues with playing audio files in loops.

See also

> [@Study behaving completely different online](https://discourse.psychopy.org/t/study-behaving-completely-different-online/42751/5):
>
> Here is the result of my investigation. [nonslip-duation [PsychoPy]](https://run.pavlovia.org/test-suite/nonslip-duation/) The issue occurs when all of the routines in a loop are non-slip (green) and the trial is ended with a mouse press (or button). One fix is to use routine settings to give the trial a duration and make sure you don’t tick non-slip timing

---

<div class="post-metadata">

### Author: ![Su\_Wang](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/su_wang/32/40563_2.png) [@Su\_Wang](https://discourse.psychopy.org/u/Su_Wang)
#### Post date: [November 1, 2024, 4:29pm UTC](https://discourse.psychopy.org/t/skip-a-routine-when-two-routines-both-have-time-limitation/42774/6 "2024-11-01T16:29:00Z")

</div>

Thank you! I will try the new version.
