Skip to content
This repository was archived by the owner on Jul 5, 2026. It is now read-only.
This repository was archived by the owner on Jul 5, 2026. It is now read-only.

Why isn't the actionFunction working properly? #1194

Description

@aohanhe

`.actionFunction(context -> {
Flux businessFlux = Flux.just("A", "B", "C")
.delayElements(Duration.ofMillis(1000))
.map(item -> {
if ("B".equals(item)) {
RuntimeException err = new RuntimeException("test one error");

              throw err;
            }
            return item;
          });

      return businessFlux.then();
    })`

The result of stateMachine.sendEvent is always ACCEPTED. Why is this happening and how can I handle it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/need-triageTeam needs to triage and take a first look

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions