-
Notifications
You must be signed in to change notification settings - Fork 198
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
Add errors group to input output tab #435
Conversation
4b97d34
to
ddc45ea
Compare
22bc9e1
to
740ced3
Compare
Maybe we should squash the commits beforehand. |
740ced3
to
db1b6f1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some things we should consider in the implementation & tests, besides, good job so far 👏
entries: [], | ||
|
||
enabled: function(element, node) { | ||
return is(element, 'bpmn:ServiceTask') && getBusinessObject(element).type === 'external'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we would get safer if we use internal helpers for this.
return ImplementationTypeHelper.getImplementationType(element) === 'external';
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure thing!
db1b6f1
to
8b0cc48
Compare
Checked the latest artifact right now - looks and behaves as expected. ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes LGTM 👍
Related to camunda/camunda-modeler#2070
This PR adds the UI component of the
camunda:ErrorEventDefinition
elements in the properties panel, in the input/output tab.2 missing features to note :
-Copying and pasting a service task with a camunda:ErrorEventDefinition that references a bpmn:Error doesn't apply the reference on paste.
-Changing the type of a service task with camunda:ErrorEventDefninitions won't delete them, just hide the errors group in the input/output tab
Those features will be added at a later stage.
Acceptance Criteria
Definition of Done