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
21.84k stars 1.5k forks source link

Automations test values seem to require 2 runs before they update to the set value. #14590

Open ConorWebb96 opened 2 days ago

ConorWebb96 commented 2 days ago

Checklist

Hosting

Describe the bug When trying to test an automation, I noticed that the value added to the testing field value takes a few runs of the automation before it updates to the correct currently set value.

To Reproduce Steps to reproduce the behavior:

  1. Create a new app
  2. Setup automation, in my case, a cron-type automation
  3. Add a backend log and use the trigger.timestamp as the value to be displayed
  4. Add a timestamp value
  5. Click run
  6. Change the timestamp value
  7. Run again, notice the new value isn't being displayed
  8. Click run again, and you will see the correct timestamp value is displayed

Expected behavior When the test value is updated and the test button is clicked, the new value should be used; the previous value should not be used.

Screenshots 20240917_084019

Additional Notes This isn't exclusive to the cron-type automation; it happens with created and updated automations too.

linear[bot] commented 2 days ago

BUDI-8651 Automations test values seem to require 2 runs before they update to the set value.