在Kogito的DMN中进口和使用POJO
是否可以在您必须制作自己的自定义数据对象的所有指南中将Java类导入DMN,但是我拥有具有100多个字段的非常复杂的类应用程序。有什么办法可以将此对象导入DMN以供使用?
fe I有课程应用程序,在DMN中,我想更改application.user.data.value,具体取决于应用程序。Weather.hassun条件?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

是否可以在您必须制作自己的自定义数据对象的所有指南中将Java类导入DMN,但是我拥有具有100多个字段的非常复杂的类应用程序。有什么办法可以将此对象导入DMN以供使用?
fe I有课程应用程序,在DMN中,我想更改application.user.data.value,具体取决于应用程序。Weather.hassun条件?
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
一次性< / 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
andweather
structure if those are only the fields in a ~JSON Schema that you make plan to use.