Very Slow DMN Validation

40 views
Skip to first unread message

Abhijit Kedia

unread,
May 7, 2023, 3:03:20 PM5/7/23
to Kogito development mailing list
for my simple DMN on kogito . It is taking a lot of time to validate the DMN. It takes upto 15 minutes to do the same.  what require help in knowing why it is happening that way.
ODDisc.dmn

Matteo Mortari

unread,
May 7, 2023, 6:34:12 PM5/7/23
to kogito-de...@googlegroups.com
Hi Abhijit,
the Decision Table Analysis is configured by default to attempt Overlap analysis even when you are using string values which should have been enumerated for your columns. In your case, it seems to me you have not enumerated types for Dealer.IsPolicyIssuingDealerCode, Vehicle.RTOCode, Vehicle.ModelCode, Vehicle.VehicleType.

Looking at the table, it looks to me that decision table is also failing methodology-wise, especially for columns Dealer.IsPolicyIssuingDealerCode and Vehicle.ModelCode.

In my view, you have 2 options.

Option1.
If you want to follow methodology best practices, likely values in Dealer.IsPolicyIssuingDealerCode ought to be represented in a subdecision, something ~like "is special dealer code", so that would transform into a boolean check in your current table.
Then, Vehicle.ModelCode can also be refactored in another subdecision, for "PCP" classfication and segmentation in their own categories, looks to me you have 3 of them; so that would transform into 3 different category values in your current table.

Option2.
If you want to keep the decision table as-is, despite lacking DMN methodology best-practices, you can always disable validation.

Hope this helps!
MM

On Sun, 7 May 2023 at 21:03, Abhijit Kedia <abh...@kedia.org> wrote:
for my simple DMN on kogito . It is taking a lot of time to validate the DMN. It takes upto 15 minutes to do the same.  what require help in knowing why it is happening that way.

--
You received this message because you are subscribed to the Google Groups "Kogito development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kogito-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/90237f81-8072-4a25-ad1c-5f95b72bd3a4n%40googlegroups.com.


--

Abhijit Kedia

unread,
May 8, 2023, 3:23:58 AM5/8/23
to kogito-de...@googlegroups.com
Thanks ,

It really helped 

You received this message because you are subscribed to a topic in the Google Groups "Kogito development mailing list" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kogito-development/_d46hZBlHfE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kogito-developm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kogito-development/CAHOoiErxQKc4QiQEictjDFwvhy7sNK-ygt-Et2UBwTE_rp%3DY0w%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages