Hello everyone! I am hoping someone might be able to help me out.
I have a bit of experience with Google Apps Scripts, and already have one setup that emails different people based on what data is submitted in a form.
I am now trying to set one to do slightly different task. There is a form that students fill out requesting to have a document printed by the Librarian. The Librarian has the sheet setup with the following headers:
Print Job Completed?, Timestamp, Email Address, Name, Class Printing is for, Click yes that you understand printing is in black and white only, Attached document
So thta is a total of 7 columns.
In this Sheet, the first column named "Print Job Completed?" is setup as a dropdown list with the only option of "YES!!!" . The default value for this field is blank
What the Librarian is hoping to accomplish, is the following: When she prints one of the submitted documents, find that row in the Sheet and change the first column value to "YES!!!" and then she would like the Apps Script to send an email to the "Email Address" for that particular row, to let them know that document "Class Printing for" has been printed and is ready for pickup. I am sure that is as clears mud, lol.
I read an article that was sort of in line with what I am trying to accomplish, and here is what I have so far, which doesnt work, so I have no doubt I am doing it wrong. I am wondering if this fine group of folks might be able to help figure this out, if it's even possible. Thanks!!
This message (and any associated files) may contain confidential and/or privileged information. If you are not the intended recipient or authorized to receive this for the intended recipient, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by sending a reply email and delete this message. Thank you for your cooperation.
--
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/3dbb1bc6-f8e8-4cda-b7c3-150986cb4034n%40googlegroups.com.
| Start | Function | Error Message | Trigger | End |
|---|---|---|---|---|
| 2023-09-01 21:55:21 Eastern Daylight Time | emailEmployees | TypeError: Cannot read properties of null (reading 'activate') | time-based | 2023-09-01 21:55:22 Eastern Daylight Time |
Sincerely,
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CADjEj86beY%3DtF8hqwkFJuAaY0kLGBokQzpvaRxwew%2BQoZBCZPQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-apps-script-community/CAOMDwTNh-J3MaQAJGp%2BT%3DHFDK4VxsuRS7XhWEFY75MXgR98L%3DA%40mail.gmail.com.