-
Notifications
You must be signed in to change notification settings - Fork 483
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
Signal throw event inputs not copied when using copy & paste #4674
Comments
This issue points to a deeper issue. We have multiple sources of truth for whether an element can have inputs and/or outputs:
The documentation doesn't tell me what elements support inputs and/or outputs so I asked. The outcome is this list: Input mappings:
Output mappings:
Job worker tasks are:
Where Business rule, script and user tasks have an alternative way of implementing, but both those ways have input/output mappings I'd like to make sure that we
|
Where would you expect the single source of truth to be implemented? |
@barmac I'm not sure it's easily possible. We have the same problem with many other properties. But at least we should make sure bpmn-properties-panel and camunda-bpmn-js-behaviors work the same. |
In today's session with @misiekhardcore, we discussed this topic. We noticed that the CopyPasteBehavior is not strictly a behavior in the diagram-js meaning as it's not a Command Interceptor, and only reacts to events via direct subscription on EventBus. The component's API resembles more BpmnRules. @misiekhardcore suggested that both copy/paste and properties panel entries visibility are controlled much in the rules way, so we could employ rules to steer it. |
Describe the bug
When copying and pasting a signal throw event with inputs the inputs aren't copied (compare to message throw event).
Steps to reproduce
Expected behavior
Inputs copied.
Environment
Additional context
The text was updated successfully, but these errors were encountered: