I have a bot that is set to TRIGGER OTHER BOTS. Some of the other triggered bots are ALSO set to trigger other bots. I have a table NOTES that I use to audit events throughout my app. The NOTES table has a CreatedBy column that is set to have an INITIAL VALUE of USEREMAIL() which means that even if you do not supply a value for that column during a ROW ADD the current user’s email address will populate that column.
Here is the tail end of the Initial Bot that triggers the others:-
‘CopyQuoteItem’ is an ‘Add new row’ to a table that has a Bot set to trigger on row adds. So this action will trigger another bot to handle that event.
Here is the Bot that triggers when the row is added:-
The ‘Notify’ section is an ‘Add new rows’ with the following data:-
For the purposes of testing, I have forced a value (“someone@somewhere”) into the ‘CreatedBy’ field in this step. Remember, the column in the NOTES table has an INITIAL VALUE of USEREMAIL() set.
With the forced value, the step executes perfectly.
With USEREMAIL() as the value, it seems to evaluate to BLANK/NULL? and causes the bot to terminate with this message in the Automation Monitor log for that task:-
So, here I am at the end of this long post and I am being reminded of a support call with similar symptoms involving RETURN values from Appscript Tasks being lost when the option to ‘Wait for Execution to Complete’ is set on a bot that has the task.
Appsheet Engineers! Something is going VERY wrong in the bot execution pipeline that is causing loss of data and bot failures. Surely I cannot be the only user in this community that has encountered these bugs?
To emphasise the point made in the description of the problem above, the ‘Notify’ section of the bot works perfectly if the bot is triggered from a standard record add, but not when triggered from other bots…other bot triggers cause USEREMAIL() not to evaluate or to evaluate to BLANK/NULL.
I cannot imagine the hassle involved in trying to explain this problem to Appsheet Support who by the way told me after they had investigated the Appscript Tasks problem that turning off ‘Wait for Execution to Complete’ in the bot resolved the problem!
Does anybody know who I should ‘@mention’ in this post to make sure the correct people get to investigate? I cannot be bothered with the support pipeline, it ages me!






