Skip to content

Add support to subflows on the Java DSL #1151

Description

@ricardozanini

What would you like to be added:
Currently, users can't declare workflow calls from the Java DSL. See the language reference here: https://github.com/serverlessworkflow/specification/blob/main/dsl-reference.md#workflow-process

The runtime engine already supports calling another workflow definition, it's just a matter of supporting it on the Java DSL. Something like:

FuncDSL.workflow().tasks(workflow(myref))

Why is this needed:
To complete the Java DSL support for the language definition.

Activity

  1. matheusandre1 commented on Mar 6, 2026

    @matheusandre1
    Contributor

    @mcruzdev, Are you doing this? Can I do that?

  2. ricardozanini commented on Mar 6, 2026

    @ricardozanini
    CollaboratorAuthor

    @matheusandre1 fell free to give it a try

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions