-
Notifications
You must be signed in to change notification settings - Fork 55
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
[GAS-070] Error _onFormSubmit when have the new request #2
Comments
Hello @ashtonfei. |
@tuanngocptn Is it always replace the line above the actual response line? If it only happens to some responses, we'll need more investigation. |
Hello Ashtonfei |
@tuanngocptn Were the responses 58 and 59 submitted very closely? Like almost the same time? |
This problem happens quite often. ![]() . . And this is error is showing on the Executions report. ![]() Thanks @ashtonfei |
I updated the onOpen function to fix the permission issue on creating triggers. You will need to install the trigger manually. function onOpen() {
// const trigger = createTrigger(); // removed
const ui = FormApp.getUi();
const menu = ui.createMenu("Approval");
menu.addItem("Reset UID", "resetUid");
menu.addItem("Install trigger", "createTrigger"); // added
menu.addToUi();
} |
Hello. I just added this trigger after changed the code. ![]() I will send you the result after several days. Really thanks @ashtonfei |
Hi @ashtonfei after several day running. Seem like problem still there Do you have any idea for fix that. ![]() Thanks |
Hello @ashtonfei. Are you still following this issue. Thanks |
@tuanngocptn I checked the code, I think there is a defect with the logic in my original design that the script is always checking the last row when there is a submission. Is response edit allowed in your form? In current logic, the response edit could trigger the script to overwrite the last row in the sheet. |
Hello @ashtonfei
Thanks |
I just checked the Responses setting and It all have off already before. Seem like that is not the core problem |
Hey @ashtonfei I want to import some other data from a sheet1 which is in the same spreadsheet having form responses 1. I want add 2 -3 data values in the task object. What I have to do.. please suggest me..and after approving the email the data gets reflected to that sheet only where the data is been Imported... |
Hello I have some problem when running on GAS-070 (https://github.com/ashtonfei/google-apps-script-projects/tree/GAS-070).
.
Some user missing additional value like _uid, _status, _response_id, _approver_1, _approver_2.
So I found the reason. Sometimes, the additional value inserted wrong area. That inserted in the before line.
Like the image above UID-00059 must fill in the next line. But it replace the UID-00058 area.
That will make some error of system when we run the application in flow.
Thanks for read. And hope that will fix soon.
The text was updated successfully, but these errors were encountered: