budibase icon indicating copy to clipboard operation
budibase copied to clipboard

When trying to test an automation with an app action the screen freezes and an error appears in the console.

Open FlaminWrap opened this issue 2 years ago • 3 comments

Hosting

  • Self
    • Method: Docker compose
    • Budibase Version: 1.2.9
    • App Version: 1.2.9

Describe the bug When trying to test an automation with an app action the screen freezes and an error appears in the console.

To Reproduce Steps to reproduce the behavior:

  1. Create an automation and use App action
  2. Create your automation
  3. Click finish and test automation
  4. The error will appear in the browser console

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

App Export BulkUpdateApp-export-1659963249625.txt

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Version 103.0.5060.114

FlaminWrap avatar Aug 08 '22 13:08 FlaminWrap

Hi @FlaminWrap, sorry you're having issues. Could you provide some more information about what your App Action step looks like? i.e what test data are you using. And what does the rest of your Automation look like?

PClmnt avatar Aug 09 '22 08:08 PClmnt

Hi @PClmnt

The automation queries the valid field for not equals yes in the bulk update table. The automation then goes into a loop to update the records and change the value to Yes

The the automation would be triggered through a button in the app. I didn't know what method of automation to choose when first starting as I didn't want it to trigger under any other circumstances, so I chose app action.

Here is a screenshot of the full automation. buditest

FlaminWrap avatar Aug 09 '22 09:08 FlaminWrap

Hi @FlaminWrap, I pulled down your app and there appears to be an bug with the testing of an App Action automatio, that if you haven't added a field to the app action, that you'll get that error. I will edit this issue title and fix the problem shortly, but in the meantime, you can just click Add field and enter any value whatsoever (it doesn't matter what it is, it won't be used within your automation) and the automation should complete successfully, it did for me anyway! Thank you for bringing this to our attention!

PClmnt avatar Aug 09 '22 09:08 PClmnt

@FlaminWrap this one should be resolved on the latest versions

shogunpurple avatar Sep 06 '22 13:09 shogunpurple