-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Labels
status: not a bugThis is not a bug.This is not a bug.
Description
Can we access your project?
- I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.
Current Behavior
When this action block is called:
- If it returns true, everything works correctly and the flow continues.
- If it returns nothing (empty), the flow where this action block is used stops executing.
This likely happens because the caller expects a true or false value, but instead receives null / no value.
Expected Behavior
If the return type is Boolean, the return value should always be required and must return either true or false.
A possible solution would be:
- Automatically mark Boolean return values as required
- Prevent users from unchecking the “required” option when the return type is Boolean
This would avoid situations where a Boolean action block returns no value and unintentionally breaks the execution flow.
Steps to Reproduce
- Create new Action Block
- Add return in it and set type to boolean
- Add some actions ad conditional when if true return true if false dont return anything
- Get and set this Action Block in Flow
- After this action block get snack bar with some text
- Run action with return true and false
Reproducible from Blank
- The steps to reproduce above start from a blank project.
Bug Report Code (Required)
IT4sj+flvYtOmM9G15PqccFB/Sk4KWE1UL8sscp/bxIgGIDzPOw+ZPXsRFRtTbChS1ZmIUSmmkIGzMrpi+D9Du05ISmsGKJi1rVyZA3/Ul6na5OBOpeef39ARP5mfFSG3MPYkR55PvNoLFYc3WaQAueUQijrNr74ImdISq/LZO4=
Visual documentation
Environment
- FlutterFlow version: 6.4.71
- Platform: Desktop
- Browser name and version: Chrome latest
- Operating system and version affected: WindowsAdditional Information
No response
Metadata
Metadata
Assignees
Labels
status: not a bugThis is not a bug.This is not a bug.