Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onboarding: one form record activates multiple same onFormSubmit triggers #70

Open
3 tasks
andiechu opened this issue Jun 8, 2019 · 0 comments
Open
3 tasks
Assignees
Labels
bug Something isn't working

Comments

@andiechu
Copy link
Contributor

andiechu commented Jun 8, 2019

Problem

image

Also it sent multiple Emails to the new memebers too.

Reason

The reason I found that it's because Google App Script's trigger is not that reliable. A lot of people complained about the same question:
https://stackoverflow.com/questions/55283616/script-running-multiple-times-onformsubmit
https://stackoverflow.com/questions/54834837/how-can-i-be-getting-multiple-unwanted-event-blocks-from-the-same-onformsubmit-t/54860085#54860085

Solution

  • check again the logic and fix the bug of sending duplicated Emails
  • add lock to triggers conditional statement to prevent it from running for multiple times
  • refine the logging system
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant