Skip to content
This repository has been archived by the owner on Sep 22, 2021. It is now read-only.

DMN: Call a DMN with Date when deployed to KIE Server #2

Open
hmatt1 opened this issue Oct 2, 2020 · 0 comments
Open

DMN: Call a DMN with Date when deployed to KIE Server #2

hmatt1 opened this issue Oct 2, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@hmatt1
Copy link
Contributor

hmatt1 commented Oct 2, 2020

When calling a DMN from Java code, we can pass in a Date or DateTime object and it will convert to a DMN Date type to be used in the decision making.

It would be really nice if properly formatted Strings would also be supported to convert to a Date type. With the current implementation, we haven't figured out how to call a DMN deployed to KIE Server with a Date type as input. If you pass a string, it errors, and we can't send the Date type of object in the JSON body in the request.

We will need to explore this behavior more, and create a well documented example of the current behavior and what we can't do with it in regards to dates.

@hmatt1 hmatt1 added the enhancement New feature or request label Oct 2, 2020
@hmatt1 hmatt1 changed the title Call a DMN with Date when deployed to KIE Server DMN: Call a DMN with Date when deployed to KIE Server Oct 2, 2020
@hmatt1 hmatt1 added the good first issue Good for newcomers label Oct 2, 2020
@hmatt1 hmatt1 self-assigned this Mar 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant