-
Notifications
You must be signed in to change notification settings - Fork 206
Description
Is your feature request related to a problem? Please describe.
When an element template is applied only explicitly defined properties in the element template are rendered. This means that when I select an element template I lose the ability to add execution listeners.
Business Case:
I have a custom delegate defined and I want to provide an element template for that delegate so that the model designer does not need to know implementation details such as Java Class path, input/output names, etc. However, there are cases where inputs/output variables may need to be pre/post processed (or other actions taken) in an execution listener and I lose the ability for a user to add execution listeners when the template is applied.
Describe the solution you'd like
On the element template definition allow for a variable at the root called allowUserDefinedExecutionListeners
that is a boolean that will show/hide the section for execution listeners and will allow/disallow the ability to add new ones.
It will enable this section in the properties panel (as seen on a basic service task)
Describe alternatives you've considered
- Not using element templates
Not good UX because a user needs to know technical details of the implementation. - Apply the element template, defined the values, then unlink the element template to allow adding execution listeners.
Will allow for applying execution listeners, but loses the ability update to a newer version of an element template.