Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): EmbeddedFlow task #6625

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft

Conversation

loicmathieu
Copy link
Member

Adds an EmbeddedFlow that allow to embed subflow tasks into a parent tasks.

After discussion with @Ben8t, the task has been called EmbeddedFlow and not TaskGroup as it better describes what it does (embedding a subflow inside a parent flow).

Fixes #6518

Limitation of the current prototypes:

  • Users need to set the subflow tenantId as the subflow is sometimes fetched by methods that don't have the execution context. If it's not set, an exception will be thrown.
  • Task ID from the subflow are not remapped so the task ID must be unique across the parent flow and all its subflow, transitively. A validation error will occur if it's not the case.

Adds an EmbeddedFlow that allow to embed subflow tasks into a parent tasks.

Fixes #6518
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To review
Development

Successfully merging this pull request may close these issues.

Add a flowable TaskGroup allowing to include subflow's tasks within the same parent execution
1 participant