Welcome, Guest
Username: Password: Remember me

TOPIC: Conditional email notification

Conditional email notification 8 months 3 weeks ago #109674

  • jboogie21
  • jboogie21's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
Am I misunderstanding the instructions located here: manual.limesurvey.org/Survey_settings#No..._.26_data_management -
"As of Version 1.92: Enter a valid expression conforming to Expression Manager syntax. This lets you use question code instead of SGQA syntax (for easier readability), plus conditional logic (e.g. route the notifications to different people depending upon the data entered into the survey)."

The way I read this is that I can use Expression Manager syntax to create an email notification based on a user response. Is this not the case? I spent all day today and couldn't make it work...blerg

My particular use case is that I have LS scoring user responses (and it is working the way I want it to!). If a user scores over a certain threshold, I would like a basic notification sent to a staffer to review that users responses.

Can someone please provide some guidance, or tell me I'm missing something...
The administrator has disabled public write access.

Conditional email notification 1 month 2 weeks ago #116033

  • jboogie21
  • jboogie21's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 17
  • Karma: 0
I finally figured this out with the help from this post

My use case is a little different, but same principles:
  • create hidden equation questions that calculate the scores I want
  • create hidden equation that is condition I want to email on
  • my line of code in this case is:
    {if(RDAStotal.value le 47, 'whateveremailaddress', '')}
  • put {questioncode} from the email conditional equation I just created above in the Send basic admin email notification in the settings
  • format basic admin notification email template the way I want (in my case I put the the {questioncode} from the actual calculated score so I know what the actual score is when I get notified.
Last Edit: 1 month 2 weeks ago by jboogie21. Reason: fix hyperlink
The administrator has disabled public write access.

Conditional email notification 1 month 2 weeks ago #116087

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5588
  • Thank you received: 319
  • Karma: 254
Thanks for sharing your solution. Please extend the information at our manual (it's a wiki, everyone can and should edit it) if you are missing something there.
It also never hurts to have simple examples at the documentation.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.156 seconds
Donation Image