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 Element Templates for Camunda Cloud BPMN diagrams #2640

Closed
10 tasks done
MaxTru opened this issue Dec 15, 2021 · 2 comments
Closed
10 tasks done

Support Element Templates for Camunda Cloud BPMN diagrams #2640

MaxTru opened this issue Dec 15, 2021 · 2 comments
Assignees
Labels
Camunda 8 Flags an issue as related to Camunda 8 element templates enhancement New feature or request

Comments

@MaxTru
Copy link
Contributor

MaxTru commented Dec 15, 2021

This is an epic issue that may be broken down into multiple tasks if needed

Is your feature request related to a problem? Please describe.

Support Element Templates for Camunda Cloud BPMN diagrams following the same concept as exists for Camunda Platform BPMN diagrams. (c.f. element template docs)

Describe the solution you'd like

  • Use the same concept as we have (c.f. docs)
  • In the first step, support
    • zeebe:taskDefinition (String, Dropdown or Hidden binding + support for constraints)
    • zeebe:taskHeader (String, Dropdown or Hidden binding + support for constraints)
    • zeebe:input(String, Dropdown or Hidden binding + support for constraints)
    • zeebe:output (String, Dropdown or Hidden binding + support for constraints)
  • Consider an overall flag for an element template to indicate for which execution platform they are valid
  • To consider / cherry-on-top: optional attribute => Don't inject configurations using element templates, if user provides no value bpmn-io/bpmn-js-properties-panel#501 (comment)

Breakdown

Describe alternatives you've considered

  • Re-build a new concept => does not make sense. Element templates concept as-is works fine.
  • ...

Additional context

Also see archived zeebe-modeler issue zeebe-io/zeebe-modeler#119
Related to https://github.com/camunda/product-hub/issues/2
Element templates docs

There does not exist a dedicated BPMN extension element reference for Zeebe. The examples should be used as a reference.

@MaxTru MaxTru added enhancement New feature or request element templates Camunda 8 Flags an issue as related to Camunda 8 labels Dec 15, 2021
@MaxTru MaxTru added the backlog Queued in backlog label Dec 17, 2021 — with bpmn-io-tasks
@pinussilvestrus pinussilvestrus self-assigned this Jan 10, 2022
@pinussilvestrus pinussilvestrus added the ready Ready to be worked on label Jan 11, 2022 — with bpmn-io-tasks
@pinussilvestrus pinussilvestrus removed the backlog Queued in backlog label Jan 11, 2022
@pinussilvestrus
Copy link
Contributor

Another thing that might be important for the Connectors story after a chat with @nikku and @pihme (maybe not in the first iteration)

  • Inputs and outputs are also relevant
  • Inputs and outputs support dynamic binding ("=expression") or static values ("1") => that might conclude in another type "Expression" if we decide to provide additional editor tooling around it

In general, the existing templates concept fits well with what we need for the Connectors story, although there are unclarified things regarding the connection of a template and a connector implementation (top-down vs. bottom-up). Either way, we can start with the way element templates are currently working.

@pinussilvestrus
Copy link
Contributor

Let's close this one as all implementation tasks are done. To consider: https://github.com/bpmn-io/internal-docs/issues/403#issuecomment-1057771316

@bpmn-io-tasks bpmn-io-tasks bot removed the ready Ready to be worked on label Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Camunda 8 Flags an issue as related to Camunda 8 element templates enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants