Hey everyone,
i am working on a bpmn-js-plugin and i went through some of the examples, but now i’m a little confused about a few things and maybe someone of you can give me a hint.
Here is what i want to do:
1. create some element-templates (Service-Task with Connector and some custom-properties)
My BPMN-Process will consist of serveral element-templates with different payloads. The payload of a template has to be build from the user-input of the custom-properties. The templates differ in their properties so i need do create more than one template (i guess) but i don’t want to define the connector-scope for every template (would not be easy to maintain, cause there are a few).
How can i solve this? Maybe programmatically?
I also tried the custom-meta-model example to create a custom-task, but is it possible to build this as a bpmn-js-plugin?
2) add the element-template to the palette
I created a PaletteProvider and add a Service-Task to the Palette. But how can i add a element-template to the palette?
3) show some of the custom-properties as overlays
How can i get the properties of an element-template?
Thank you!