Skip to content

Switch: check switch status #1947

@burner-

Description

@burner-

Description

It would be great if the switch node could report its current state by receiving a “check” message. The output message would include an input field containing the value of the incoming payload. This would make it possible to determine why the output message was emitted (locally or due to some input value).

This would enable things like checklists, master switches, and similar logic on dashboards without any custom programming by chaining switches together. The same functionality can currently be achieved by storing the switch value in the flow context and reading it elsewhere, but this feature would remove a lot of unnecessary programming.

Here is an examples of what the flow could look like if such a feature existed.

Image Image

Have you provided an initial effort estimate for this issue?

I am no FlowFuse team member

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestNew feature or request that needs to be turned into Epic/Story detailsneeds-triageNeeds looking at to decide what to do

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions