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

Support ad-hoc subprocesses #4739

Open
2 tasks
saig0 opened this issue Dec 5, 2024 · 1 comment
Open
2 tasks

Support ad-hoc subprocesses #4739

saig0 opened this issue Dec 5, 2024 · 1 comment
Labels
BPMN Camunda 8 Flags an issue as related to Camunda 8 enhancement New feature or request ready Ready to be worked on

Comments

@saig0
Copy link
Member

saig0 commented Dec 5, 2024

What should we do?

In C8 BPMN editor

  • I can add an ad-hoc subprocess for the execution platform 8.7 and don't see a linting error
  • I can set the FEEL expression activeElementsCollection on an ad-hoc subprocess

The activeElementsCollection attribute

  • Only for ad-hoc processes
  • Optional, can be empty
  • Must be a FEEL expression
  • Description: Return a list of BPMN element ids that should be activated when entering the ad-hoc subprocess.
  • XML path: bpmn:adHocSubProcess > bpmn:extensionElements > zeebe:adHoc > activeElementsCollection

XML representation

    <bpmn:adHocSubProcess id="Activity_1kaluzl">
      <bpmn:extensionElements>
        <zeebe:adHoc activeElementsCollection="=activeElements" />
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_1qw4w9y</bpmn:incoming>
      <bpmn:outgoing>Flow_1e61rhe</bpmn:outgoing>
      <bpmn:serviceTask id="Activity_1762pvi" name="A">
        <bpmn:extensionElements>
          <zeebe:taskDefinition type="A" />
        </bpmn:extensionElements>
      </bpmn:serviceTask>
      <bpmn:serviceTask id="Activity_036tbyz" name="B">
        <bpmn:extensionElements>
          <zeebe:taskDefinition type="B" />
        </bpmn:extensionElements>
      </bpmn:serviceTask>
    </bpmn:adHocSubProcess>

BPMN example

Screenshot from 2024-12-05 10-10-03

Why should we do it?

Child of https://github.com/camunda/product-hub/issues/2546

@saig0 saig0 added BPMN enhancement New feature or request Camunda 8 Flags an issue as related to Camunda 8 labels Dec 5, 2024
@barmac
Copy link
Collaborator

barmac commented Dec 5, 2024

Thanks for opening the issue! I will put it to the backlog for now but we will keep it in mind for the future planning.
Actually, ready is a better place given the state of the linked epic.

@barmac barmac added backlog Queued in backlog ready Ready to be worked on and removed backlog Queued in backlog labels Dec 5, 2024
@barmac barmac changed the title Support ad-hoc subprocesses for 8.7 Support ad-hoc subprocesses Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BPMN Camunda 8 Flags an issue as related to Camunda 8 enhancement New feature or request ready Ready to be worked on
Projects
None yet
Development

No branches or pull requests

3 participants