Issue with Bot Trigger: Unable to Execute Action Based on Condition

enq
Bronze 1
Bronze 1

Hello AppSheet Community,

I'm facing an issue with a bot trigger and would appreciate some assistance. I have two tables in my app:

1. Package List
2. Shipping

In the Shipping table, I can add a package order and have set up two actions:
1. Action 1: "Set the values of some columns in this row" (see screenshot)
ๆˆชๅœ– 2024-01-29 ไธ‹ๅˆ5.02.56.png
2. Action 2: "Data: Execute an action on a set of rows" (see screenshot)
ๆˆชๅœ– 2024-01-29 ไธ‹ๅˆ5.03.08.png

These actions work fine when executed directly in the Shipping table interface. However, I'm encountering a problem when trying to execute the "Delete_packagelist_sameorder" action through a bot trigger.

The bot trigger is set to execute when the status is "InTransit." The goal is to delete items in the Package List related to the same order. Unfortunately, this doesn't seem to work as expected.

I've attached screenshots of the bot configuration and the error message. As a beginner in using AppSheet, I'm struggling to understand the cause of the error. If anyone has insights or suggestions on how to resolve this issue, I would greatly appreciate your help.
ๆˆชๅœ– 2024-01-29 ไธ‹ๅˆ5.09.49.png

ๆˆชๅœ– 2024-01-29 ไธ‹ๅˆ5.09.59.png

ๆˆชๅœ– 2024-01-29 ไธ‹ๅˆ5.09.32.png

Thank you!

0 2 60
2 REPLIES 2

JSO
Silver 2
Silver 2

Confirm that you have Wait for execution to complete enabled on the bot.

JSO_0-1706532209415.png

Sometimes one action can precede another since they are asynchronous unless you force one to wait for the other.

I have already turned on this feature, but the bot still displays the same error message.
ๆˆชๅœ– 2024-01-30 ไธ‹ๅˆ4.07.12.png

ๆˆชๅœ– 2024-01-30 ไธ‹ๅˆ4.07.39.png

Top Labels in this Space