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

I can activate an ad-hoc subprocess #25426

Merged
merged 3 commits into from
Nov 29, 2024
Merged

Conversation

saig0
Copy link
Member

@saig0 saig0 commented Nov 28, 2024

Description

Adds a BPMN stream processor to execute ad-hoc subprocesses. When entering an ad-hoc subprocess, the process instance

  • Applies input mappings
  • Invokes start execution listeners

The ad-hoc subprocess can be terminated by a cancel command and interrupted by a boundary event. The completion is not implemented because the inner activities can't be activated yet.

Related issues

closes #25270

@github-actions github-actions bot added the component/zeebe Related to the Zeebe component/team label Nov 28, 2024
Add a BPMN stream processor to execute ad-hoc subprocesses. An ad-hoc subprocess behaves like a regular embedded
subprocess (e.g. apply input mappings, invoke execution listeners, etc.) but it doesn't activate a start event because
it must not have a start event.
Adjust the validator to allow execution listeners on ad-hoc subprocesses.
@saig0 saig0 force-pushed the 25270-execute-ad-hoc-subprocess branch from 852eed3 to fd489e7 Compare November 28, 2024 13:55
@saig0 saig0 marked this pull request as ready for review November 28, 2024 13:55
Copy link
Contributor

@ana-vinogradova-camunda ana-vinogradova-camunda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@saig0 saig0 added this pull request to the merge queue Nov 29, 2024
Merged via the queue into main with commit 5175d09 Nov 29, 2024
66 checks passed
@saig0 saig0 deleted the 25270-execute-ad-hoc-subprocess branch November 29, 2024 10:38
@saig0 saig0 added the backport stable/8.7 Backport a pull request to stable/8.7 label Jan 23, 2025
@saig0
Copy link
Member Author

saig0 commented Jan 23, 2025

/backport

@backport-action
Copy link
Collaborator

Successfully created backport PR for stable/8.7:

github-merge-queue bot pushed a commit that referenced this pull request Jan 23, 2025
# Description
Backport of #25426 to `stable/8.7`.

relates to #25270
original author: @saig0
@rodrigo-lourenco-lopes rodrigo-lourenco-lopes added the version:8.7.0-alpha4 Marks an issue as being completely or in parts released in 8.7.0-alpha4 label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport stable/8.7 Backport a pull request to stable/8.7 component/zeebe Related to the Zeebe component/team version:8.7.0-alpha4 Marks an issue as being completely or in parts released in 8.7.0-alpha4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

I can execute a process instance with an ad-hoc subprocess
4 participants