Workflow triggered by "add a new row to another table" action

Hello AppSheet Community,

Please take a look at the following diagram! is the following chain of actions and workflows are realizable?

Somehow the action โ€œAdd a new row to another tableโ€ cannot invoke Workflow #2. Although adding data manually to tableX start Workflow #2 and Action #2 as well.

Please let me know if AppSheet capable of handling this! If yes I will further investigate.

Thanks,
Robert

0 14 533
14 REPLIES 14

@Robert_Horvath
Instead of Data Change worflow rule, use webhook workflow and choose preset AppSheet Edit Row. This will automatically trigger the workflow#2.

@Robert_Horvath





Steve
Platinum 4
Platinum 4

The actions of a workflow will not trigger other workflows.

Hello Steve,
Workflow rules will become Bots soon.
Your comment is valid for bots as well?
I mean a botโ€™s process can trigger another botโ€™s event?

I have no idea; I have no experience with Automation. @prithpal, can you offer any insight?

Yes it will.
Automation will make it possible that the one workflow (currently called so) will trigger another workflow.

Former Community Member
Not applicable

Yes it can. If Bot 1 has a step/task of type โ€œdata changeโ€ that changes data on letโ€™s say table2, and if you have Bot 2 that is listening for changes to data in table2, then Bot 2 will be triggered.

Without separating into two bot, we wrap everything into one BOT to do the same job, is that right?
@prithpal

Former Community Member
Not applicable

Yes, you can wrap everything inside one bot.

Automation is built on the design principle of reusability (tasks, processes, events) which provides multiple options:

  1. You can have a bot call another process directly through the โ€œcall processโ€ step.
  2. You can have bot trigger another bot directly (as discussed above)
  3. Multiple bots can be created by reusing existing events & processes

I think you are saying if BOT1 triggers an update event in another table and I have BOT2 configured to look for an Update_Only event in that other table, then BOT1 should trigger BOT2?

I have this set up actually, however BOT2 does not seem to get triggered.

My understanding is the answer to your query is YES, correct.Thats how Automation would work and designed.
If not working, then I suggest you contact support.

I guess Iโ€™m missing something then, because my second bot does not execute. Hopefully todayโ€™s office hours will shed some more light on this.

Yes, will see.
I tested simple bots, and bot 1 triggered bot 2 as advised, for your guidance.

Any chance you can share how you accomplished this? I have a table where a user interaction changes something, then I have a bot that changes a value in a Ref table and does some other things. My Bot2 is supposed to pick up the changes in the Ref table but apparently does not do so.

Any insight you could share would be appreciated.

Top Labels in this Space