Prevent reminders to go to participants with expired token

More
2 months 5 hours ago - 2 months 5 hours ago #157729 by bdeprez
bdeprez created the topic: Prevent reminders to go to participants with expired token
Hi all,

I'm creating a survey in which tokens are valid for 14 days (valid until is set when uploading the participants).

We will be adding more users on a regular basis and would want to send out reminders BUT not to those participants whose token has expired.

I tested this out and I saw that, even if a participants token has expired...

Is there a way to prevent this (aside from removing these participants or updating them one-by-one via database query)?

Thanks a lot in advance,
Bernard
Last Edit: 2 months 5 hours ago by bdeprez. Reason: clarified the "aside from"

Please Log in to join the conversation.

More
1 month 4 weeks ago #157732 by tpartner
tpartner replied the topic: Prevent reminders to go to participants with expired token
This seems to me to be a bug. Please file a bug report.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
1 month 4 weeks ago - 1 month 4 weeks ago #157733 by bdeprez
bdeprez replied the topic: Prevent reminders to go to participants with expired token
My mistake - apologies - I went through the steps again and it seems there is a check being done in the second step of the process... Let me explain:

I clicked the "Send email reminder" -> this takes you to the "Send email reminder" screen where you get the chance to change a few options.

On that page, it shows "Send reminder to token ID(s)" -> in that selection, the expired token is still included

When you then click "Send reminders" -> at that point, before sending the email, it seems to check the token validity and so it excluded the one that had expired:
"2 Email to Test2 User2 (This email address is being protected from spambots. You need JavaScript enabled to view it.) skipped: Token is not valid anymore."

This means it works however I think that in a large survey with many expired tokens, this will clutter the list and make it very difficult to identify any other issues that may be hiding in between many "Token is not valid anymore" messages...

Wouldn't it make more sense to do this selection at the first screen and exclude them from the processing in step 2 all together?

I'll create a "nice to have" bug - perhaps others may have the same opinion...

Thanks!
B
Last Edit: 1 month 4 weeks ago by bdeprez.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now