How to make bot wait until other bot is finished?

I have a bot that creates rows for delivery stops.  Then it assigns the first order to the stop with the highest priority.

Then another bot fires every time a Stop row is created or updated.  It updates the un-ordered stops with a value that it uses to assign the next order. It repeats this until all the un-ordered stops are given a delivery order.

It seems like the second bot it firing before the first one has assigned the first stop and finished.  When I try to just set the second bot to fire when the table "updates only", it will fire once and then stop.

When I disable the second bot, the first one completes and assigns the first stop without a problem.  

I'm looking for a way to tell the second bot to wait until the first one has completed?

0 2 115
2 REPLIES 2

You could make the second bot a process that is available to call, and add an event to the first bot on the end of the event string that calls that process. This is done by enabling linking refer to the image. It will show a rocker switch to enable. The hovering over the bots icon a new option will appear to show process clicking on this will show your linkable process's. Go to the first bot and add the step as below and then choose the process you want it to run. Hope this helps!

Screenshot 2024-06-19 141008.pngScreenshot 2024-06-19 141211.png

Let me know if the above solved your issue, or if I can help any further.