-
Notifications
You must be signed in to change notification settings - Fork 32
Support multiple data models in the same process task #1484
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
Comments
Some thoughts on this:
|
Yes, me and @RonnyB71 discussed the same thing just now. I've been thinking that it's the quickest way to something that works, and configuration-wise it would be compatible with all existing apps (that only use one data model). I've always thought that if two (or more) data models have the same path, we need to disable the component and produce an error in some way so that the app developer knows they need to specify the data model to use. But at the same time, if every binding was explicit about which data model to use (along with all text resources with variables, and all expressions that are doing lookups in the data model), and if locking each data element is added as an optional system task in the BPMN process (and pointing to which data type(s) to lock), we could remove the configuration options tying every data model to a specific process task (in both layout-sets.json and applicationmetadata). I'm not sure we'll get there in time for v4, though - so maybe v5? 🤔
Agree 💯! A very good suggestion! Let each node handle their own validations, and call on them to provide changes once they happen. This might depend on #1182 to be implemented first, in order to make the whole node tree a bit more stable (right now all node object are garbage collected and re-created much too often). |
A very relevant discussion regarding the specifics in this issue, including pros/cons of different approaches: |
Removing |
Description
We should start supporting multiple data models. Currently we only support one, and the logic is as follows:
classRef
and ataskId
matching the current task ID.In the future we should support multiple data models. That would have to include:
Additional Information
The text was updated successfully, but these errors were encountered: