budibase icon indicating copy to clipboard operation
budibase copied to clipboard

Action chaining not providing result

Open loureirodnl opened this issue 1 year ago • 9 comments

Checklist

  • [x] I have searched budibase discussions and github issues to check if my issue already exists

  • Cloud

    • Tenant ID: tdh.budibase.app

Describe the bug Requesting result from a previous action is not working on newly created form blocks

To Reproduce Steps to reproduce the behavior:

  1. Create a form block

  2. Add the following action at the end of the save button: image

  3. Go to preview and create a new record

  4. The result notification is empty:

image

Expected behavior We should see the result

App Export My app-export-1707217629712.tar.gz

Desktop (please complete the following information):

  • OS: windows 11
  • Browser Microsoft Edge

loureirodnl avatar Feb 06 '24 11:02 loureirodnl

Thanks for raising @loureirodnl

This is currently being worked on 👍

melohagan avatar Feb 06 '24 11:02 melohagan

@melohagan Thank you very much for you very fast handling of this issue ! Do you have any guesstimate of when this will be fixed ? To know if I should find a workaround or if I should wait ?

Thanks

loureirodnl avatar Feb 08 '24 09:02 loureirodnl

Hey @loureirodnl

In the meantime I think a workaround could be, in your saved row action, to use the default helper per column:

Screenshot 2024-02-08 at 09 14 24

default form_field_binding default_value

melohagan avatar Feb 08 '24 09:02 melohagan

https://linear.app/budibase/issue/BUDI-7964/save-row-action-payload-not-useable-within-a-button-group

melohagan avatar Feb 08 '24 09:02 melohagan

https://linear.app/budibase/issue/BUDI-7964/save-row-action-payload-not-useable-within-a-button-group

I don't have acces to this link but the title of the page suggest that the problem comes from Button Groups. I ejected my form block and replaced the save button group by a simple button and it worked.

So I'll use this workaround for now

Thank you !

loureirodnl avatar Feb 08 '24 09:02 loureirodnl

Nice one @loureirodnl I really I should have mentioned that too 🤦

Good thinking though 🧠

melohagan avatar Feb 08 '24 09:02 melohagan

This bug is observed in version 2.17.8. Everything works in a separate button.

genfild avatar Feb 08 '24 15:02 genfild

This bug is observed in version 2.17.9. Everything works in a separate button.

genfild avatar Feb 10 '24 11:02 genfild

This seems to be fixed on the latest version of Budibase. Going to close as completed.

ConorWebb96 avatar Mar 11 '24 14:03 ConorWebb96