Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Add support for templates / customised elements #119

Open
jwulf opened this issue Sep 27, 2019 · 5 comments
Open

Add support for templates / customised elements #119

jwulf opened this issue Sep 27, 2019 · 5 comments
Labels

Comments

@jwulf
Copy link
Member

jwulf commented Sep 27, 2019

I'm working on a NestJS server that has opinionated workers in it that require specific custom headers for specific task types.

What I would like is the ability to add elements to the palette that are pre-configured service tasks where the necessary custom header keys are filled out, with some placeholder text for the values.

Then the user can choose, for example, an "Send Email" task, and drop it in the process, and it is a vanilla service task, but with the task type set to "email:send" (for example), and custom headers for "email:template", "email:address", and so forth.

Is such a thing possible at the moment using a plugin?

I guess adding them as a sub-menu or a tab on the existing palette would be the most extensible solution.

Happy to contribute code or hack on something if someone can point me in the right direction.

@jwulf
Copy link
Member Author

jwulf commented Sep 27, 2019

What would make this next-level is the ability to validate the tasks against the schema, so that I could be told in the modeller: "Task of type email:send is missing a value for required custom header email:template"

@jwulf
Copy link
Member Author

jwulf commented Jan 23, 2020

Here is a linter service that does validation based on user-defined rules: https://github.com/StephenOTT/Workflow-Linter

@B-Stefan
Copy link

Our use case is similar, we would like to define some kind of template/plugin that provides a preconfigured service taskSend Email with some custom UI elements like:

  • From - string with Drop-Down select
  • To - string
  • Subject - string
  • Msg - string

@nikku
Copy link
Contributor

nikku commented Jan 29, 2020

How far do you get with Element Templates, available in the Camunda Modeler.

It would be an easy thing to carry these over.

@B-Stefan
Copy link

From what I could see the element template feature would cover 90% of our use cases. So nearly perfect!

It would be great to see this feature also in the Zebee modeler!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants