Re: Calling Decision Service from another DMN, Input errors

96 views
Skip to first unread message

Jozef Marko

unread,
Oct 30, 2023, 4:09:02 AM10/30/23
to kogito-de...@googlegroups.com
Hi Brendan, would it be possible to share a DMN file you produced? I think it would help with investigating the issue you spot.

On Thu, Oct 26, 2023 at 2:12 PM Brendan <brendan...@gmail.com> wrote:
As the topic states.
I have a decision service, and I am calling the top level decision in another DMN file.
I am adding the source DMN to the new one as Included Model.
I take the service from the properties tab, then link up the inputs and assign them the values in the properties associated with the Service.

Then i link to a decision node and assign with the following message:

Delinquency.Credit History Bureau Delinquency Auto Approval Acceptability Service(TransUnion Report : tTransunion Report, Applicaton : tApplication, Debt : tDebt, Account Net Characteristics : tAccount Net Characteristics)

But it seems the inputs are not coming, I get numerous FEEL errors stating they are null values, and most decisions on the canvas give errors related to sub decisions they are dependent on not being available.

I can only assume the Inputs are not linking up.

some of the errors in the terminal, there are more of the same but this is the gist:

2023-10-26 14:02:50,943 ERROR [org.kie.dmn.cor.ast.DMNLiteralExpressionEvaluator] (executor-thread-0) FEEL ERROR while evaluating literal expression 'abs((years and months duration(date(Application.cr... [string clipped after 50 chars, total length is 181]': The parameter 'from', in function years and months duration(), cannot be null.
2023-10-26 14:02:50,944 ERROR [org.kie.dmn.cor.ast.DMNLiteralExpressionEvaluator] (executor-thread-0) FEEL ERROR while evaluating literal expression 'abs((years and months duration(date(Application.cr... [string clipped after 50 chars, total length is 181]': The parameter 'from', in function date(), cannot be null.
2023-10-26 14:02:50,946 ERROR [org.kie.dmn.cor.ast.DMNLiteralExpressionEvaluator] (executor-thread-0) FEEL ERROR while evaluating literal expression 'abs((years and months duration(date(Application.cr... [string clipped after 50 chars, total length is 181]': The parameter 'from', in function years and months duration(), cannot be null.
2023-10-26 14:02:50,948 ERROR [org.kie.dmn.cor.ast.DMNLiteralExpressionEvaluator] (executor-thread-0) FEEL ERROR while evaluating literal expression 'abs((years and months duration(date(Application.cr... [string clipped after 50 chars, total length is 181]': The parameter 'duration', in function abs(), cannot be null.
2023-10-26 14:02:50,952 ERROR [org.kie.dmn.cor.imp.DMNRuntimeImpl] (executor-thread-0) Unable to evaluate decision 'Newly Acquired Trades Count' as it depends on decision 'Open Trade Tenure in Months'
2023-10-26 14:02:50,954 ERROR [org.kie.dmn.cor.imp.DMNRuntimeImpl] (executor-thread-0) Unable to evaluate decision 'Newly Acquired Trade Acceptability' as it depends on decision 'Newly Acquired
Trades Count'
2023-10-26 14:02:50,955 ERROR [org.kie.dmn.cor.imp.DMNRuntimeImpl] (executor-thread-0) Unable to evaluate decision 'Credit History Bureau Delinquency Auto Approval Acceptability' as it depends on decision 'Newly Acquired Trade Acceptability'

What could be causing this?
FYI I have used the same method of connecting services in other DMN and it works there, this is specific to this connection.

--
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/6b0a7231-44ef-490c-8962-523de3228c8fn%40googlegroups.com.


--
Regards, Jozef
Red Hat Partner Engineer
Reply all
Reply to author
Forward
0 new messages