Skip to content

Reuse workflow? #45

@jinyu121

Description

@jinyu121

Hi~ I'm using the workflow in my tools.

I don't want to create a workflow every request I received, so I wonder if I can re-use the same workflow instance. These info seems not mentioned in the doc:

Does the same workflow support concurrent invocation?

  • I tried, seems the workflow will be locked

Can the same workflow be used multiple times?

  • I tried, seems works well

How should I inject different data while re-using the same workflow instance?

  • Currently, I use ctx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions