-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Kogito - VSCode] Validation of DMN file: How to Enforce Data Type Consistency in Input Values? #2906
Comments
This should be doable using our https://marketplace.visualstudio.com/items?itemName=kie-group.extended-services-vscode-extension . However, we need to recheck this scenario as there were recently updates to this extension, that are not publicly available yet. |
I see, but in some cases, it seems that the validation does not catch errors correctly. For instance, I have a volume field of type number, but when I write a rule with a text value like "abc", it does not detect the error. It would be great if this scenario could be rechecked to ensure proper validation. Looking forward to any updates on this! |
Well, I am sorry for this situation with incompatible versions. We are approaching merge of the new scesim-editor, that will be compatible with DMN 1.5 |
Thank you for your support! I'm also looking forward to DMN 1.5 being able to run test scenarios as soon as possible. |
In my DMN file in VSCode, I have defined specific data types for each object.
For example, volume is defined as a number. However, I noticed that it is still possible to enter values of different types (e.g., strings or other unexpected inputs).
I need to validate that the input values strictly match the defined data type. The validation should occur in one of the following cases:
I using:
I am looking for ways to enforce this validation effectively. Is there a built-in way in DMN to enforce type consistency?
Any guidance or best practices would be greatly appreciated!
The text was updated successfully, but these errors were encountered: