在Kogito的DMN中进口和使用POJO

发布于 01-24 16:06 字数 178 浏览 3 评论 0 原文

是否可以在您必须制作自己的自定义数据对象的所有指南中将Java类导入DMN,但是我拥有具有100多个字段的非常复杂的类应用程序。有什么办法可以将此对象导入DMN以供使用?

fe I有课程应用程序,在DMN中,我想更改application.user.data.value,具体取决于应用程序。Weather.hassun条件?

is it possible to import Java class to DMN in all the guides you have to make your own custom data object, but I have very complex class Application with more than 100 fields. Is there any way I can import this object to dmn for usage?

F.e. I have class Application and in dmn I want to change Application.user.data.value depending on Application.weather.hasSun condition?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

时光礼记 2025-01-31 16:06:37

一次性< / strong> pojo作为ItemDefinition的自动定义的功能仅在Business Central / Workbench中可用。

您可以使用

最后,重要的是要牢记DMN是基于结构键入(而不是标称键入),因此您不需要在DMN模型ItemDefinition中定义所有“ 100个字段”,但您只能说您只能定义 ="">用户和天气结构如果您只是您计划使用的一个〜JSON模式中的字段。

The functionality of one-time import of Pojo as an automatic definition of ItemDefinition is only available in Business Central / Workbench.

You could use something like https://dmn-cli.com alternatively.

Finally, it's important to keep in mind that DMN is based on structural typing (and not nominal typing) so you don't need to define all "100 fields" in your DMN model ItemDefinition necessarily, but say you could only define the user and weather structure if those are only the fields in a ~JSON Schema that you make plan to use.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文