-
Notifications
You must be signed in to change notification settings - Fork 3
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 camunda:executionListener
with implementationType
property binding
#17
Conversation
Hi, thanks for the PR. In order to make the feature complete, we'd also need to:
|
Hi, @barmac , Changes to the json schema should be proposed with a pull request here, right? Could you give me a hint which repository contains the documentation, I was not able to find any files for this in the camunda-modeler repo. Kind regards |
Hi, I am happy that you want to complete the loop :) Both repos are the ones where we'd need to implement the changes. For the documentation, you'd need to look into this file specifically: https://github.com/camunda/camunda-platform-docs/blob/main/docs/components/modeler/desktop-modeler/element-templates/c7-defining-templates.md Looking forward to your contributions! |
Hi again @barmac , sorry for coming back to you again. I just attempted to write documentation and realized that while Once again So my question to you is, should we stick to I am fine with both approaches. I would appreciate your opinion on this, before I finalize my contribution. Kind regards |
Hi, Thanks for coming back. I looked into this more deeply, and indeed
So let's keep the backwards compatibility, but also enforce correct values in the future templates. |
Now, everything should be ready for review, @barmac :
|
Thanks for the heads-up. I will look into these items today. |
camunda:executionListener
with implementationType
property binding
We will probably need to release a new version of bpmn-io/element-templates-validator for this. |
What is the matter with the current version? Maybe, I could do necessary changes. |
It's OK. The validator depends on the JSON schema, so I need to update the JSON schema there in order to update it. I am in the process of merging your changes ^^. Thank you so much for your contributions |
Validator update for reference: bpmn-io/element-templates-validator#24 |
So once that PR is merged and validator is released, I will incorporate the update into this PR and merge it. |
Thank you a lot for the effort! |
…on listener binding
2ae93b8
to
1b97101
Compare
OK this is now merged and I will publish it soon. Thank you @AlexanderSkrock for your amazing contribution! |
Thanks indeed for this contribution. Well done 👏 |
Before this change we only evaluated the special case for scripts. For everything else we always used the value property. But for some cases e. g. class-based execution listeners we need actually need to set the "class" attribute instead. Also, this align with the json schema definition.
Closes #13
Note: I had to reopen, because I deleted my fork when cleaning up my repos... Forgot about the open pull request. See #15