Skip to content

Boolean Return Value Allows Empty Result and Stops Flow Execution #6820

@Szymek2025

Description

@Szymek2025

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

  1. Create new Action Block
  2. Add return in it and set type to boolean
  3. Add some actions ad conditional when if true return true if false dont return anything
  4. Get and set this Action Block in Flow
  5. After this action block get snack bar with some text
  6. 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: Windows

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions