Re: [Apps-Script] How to Use Multiple Triggers

25 views
Skip to first unread message

Keith Andersen

unread,
Jan 30, 2024, 4:57:50 PM1/30/24
to google-apps-sc...@googlegroups.com

Why not one onEdit and then if statements to check which check boxes were checked and call the appropriate action?


On Tue, Jan 30, 2024, 3:38 PM 'Frank Rovella' via Google Apps Script Community <google-apps-sc...@googlegroups.com> wrote:
Could someone help me with this? I have a spreadsheet that will send a specified row of cells to one of six groups; this is activated with a checkbox, which requires a Trigger. (see screenshot below).
In this scenario, I have to set up 6 different Triggers with six different names, i.e., sendReportDBX11, sendReportDBY11, sendReportDBZ11, etc. 

The problem is that it only seems to respond to a single Trigger.
Does anyone know how to run multiple triggers without conflict? 



For more information on how and why we collect your personal information, please visit our Privacy Policy.

--
You received this message because you are subscribed to the Google Groups "Google Apps Script Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-script-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/e5a216f1-7adb-4d36-9fce-8d8218be9a80n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages