Hi Tibor, Thanks for opening the topic. This PR adds support for invoking a DMN file from SonataFlow. This PR takes advantage of the fact that DMN file invocation is already supported by jbpm engine and code generator and that the jbpm engine is already being used both by SonataFlow and BPMN parsers/code generators. Therefore what this PR does is add DMN support (in a similar way that is done to BPMN parser) to the sonata workflow parser by just recognizing the idiom ( a new custom type as per Serverless Workflow specification) Therefore, Nothing needs to be changed in the jbpm engine or in the coge generator.
On Mon, Apr 15, 2024 at 5:01 PM Tibor Zimányi <tzima...@apache.org> wrote: > Hi everyone, > > I noticed multiple discussions on Zulip and also a PR opened (1) about > executing DMN from Sonataflow. I am opening this thread (because I didn't > notice one), so we can discuss, if we want to do it. First of all, I want > to write, I am not against it. I just want us to be completely sure, that > it is what we want to do. Because from my perspective, it opens multiple > other discussions about the KIE workflow portfolio. One of them could be, > why we have two workflow engines in the KIE project, if we want to execute > all file types from everywhere (I read discussions on Zulip about DRL being > executed from Sonataflow too). It could imply, that we need a portfolio > consolidation and similar, because we are able to execute DMN and DRL from > the BPMN workflow engine. > > What are your opinions please? > > Best regards, > Tibor > > (1) https://github.com/apache/incubator-kie-kogito-runtimes/pull/3468 >