Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MariaDB, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
22.7k stars 1.57k forks source link

Trigger Automation, as a step of an Automation ( Automation Nesting ) #7786

Open poirazis opened 2 years ago

poirazis commented 2 years ago

Imginary Scenario I have an Automation, called logValueChange which tracks various fields history, using the User.email as the key to who made this change. Now during many other different automatons, i would like to run my logValueChange automation as a step.

Example Automation - App Trigger

Now, this opens the door to automation nesting so the user can break up large automations into smaller, reusable parts.

martkaczmarek commented 2 years ago

You could create Automation with Webhook trigger and reference that webhook in another Automation with some custom Rest API source query But yeah, that would be useful to have an Action Trigger Autimation ready to use

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity.

cray74 commented 11 months ago

When self-hosting, automations can trigger other automations through events.

For example if one automation creates a row, then you can use the Row Created trigger in another automation to catch this.

Currently this is not the case in the cloud environment, however we do plan to make this option available there.

does this statement still hold true for self-hosted setups? for our setup (just updated from 2.11.41 to 2.13.28) it appears the trigger "row created" is not firing if the row was created from within another automation.

melohagan commented 11 months ago

Hey @cray74

I gave this a test and self-hosted automations do not trigger other automations. So the behaviour between cloud and self-host is consistent.

I have deleted my original comment as it was not correct.