Skip to content

Java DSL: Predictable task naming when name is not provided #1252

Description

@ricardozanini

What would you like to be added:
The Java DSL should be able to add predictable names to every task if users pass null or empty strings. For example, a FuncWorkflowBuilder.workflow().tasks(set(Map.of("message", "hello"))) should be named set-1 instead of a random ID as it's today.

Why is this needed:
Predictable and descriptive task names improve debuggability and maintainability, especially for generated workflows. Random IDs make it difficult to track, test, or reason about workflows. Naming as set-1, set-2, etc. aligns with developer expectations and eases project collaboration.

Activity

  1. added a commit that references this issue on Mar 20, 2026
    eb76a38
  2. added a commit that references this issue on Mar 23, 2026
    803b51f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions