Skip to content

Rename workflow to subflow #1310

Description

@mathecruz

As is

Today the DSL looks weird when we need to call a workflow inside a workflow:

    Workflow wf =
        WorkflowBuilder.workflow("parent", "ns", "1")
            .tasks(
                workflow(
                    workflow("child.ns", "child-flow", "2.3.4")
                        .input("id", 99)
                        .await(false)
                        .returnType(RunTaskConfiguration.ProcessReturnType.NONE)))
            .build();

We have workflow(workflow it sounds weird.

Proposal

To change workflow to subflow to have a more clear and intuitive DSL.

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

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions