Page 1 of 1

Binary decision returning improper result

Posted: September 22nd, 2022, 2:24 pm
by smackie
I have a binary decision that is returning a false positive response sporadically. The decision is suppose to compare the current logged in user to the requestor pulled from get request service. I noticed that when I look at the logs I do not see the get request service for some reason. The process works the majority of the time but fails occasionally. If I go in and rebuild the service and as the user to try the process again it works fine. This is the flow of the process
image.png
.
Here is a clip from the logs which shows the model not sure why the get request service in the model is not showing in the logs
image.png
You can see that in the logs though, there is another get request in the controller which shows that the requestor was Bonnie Walton and the logged in user was April Walker see below logs from the same request
image.png
How can I ensure this process works properly each time?

Re: Binary decision returning improper result

Posted: September 22nd, 2022, 5:21 pm
by JefferyD
Looks to me like the problem is that there's a GetRequest service in both the model and a controller. When the controller is ran, the GetRequest service from the model is replaced by the GetRequest service in the logs. There cannot be more than 1 service with the same name in the logs at a time.

At least to help debug your issue, you can try:
  1. Renaming one of the GetRequest services.
  2. Add a CreateServiceNodeFromXml after one of the GetRequest services and copy the GetRequest service's output for future reference.

Re: Binary decision returning improper result

Posted: September 23rd, 2022, 9:44 am
by smackie
Thank you for the response Jeffery I can try that, but the service is getting the same information both times and this process works fine the majority of the time, meaning the requests are approved without issue and they are following the same path. Here are logs from when the process worked fine and the binary returned the proper false result for the is requestor binary.
image.png
image.png

Re: Binary decision returning improper result

Posted: September 26th, 2022, 3:26 pm
by JustinVanRegenmorter
Hello Sheryl,

We are currently looking into this issue of the Binary Decision returning incorrect results. Task 10850 will resolve this issue.

Re: Binary decision returning improper result

Posted: July 31st, 2023, 4:05 pm
by JustinVanRegenmorter
This issue was resolved in an earlier revision. Also, the BinaryDecision service has been deprecated and replaced with two new services, Switch and Boolean.