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
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
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
How can I ensure this process works properly each time?
.Binary decision returning improper result
-
- Posts: 46
- Joined: August 26th, 2021, 2:02 pm
- Contact:
-
- Posts: 178
- Joined: August 31st, 2021, 11:37 am
- Contact:
Re: Binary decision returning improper result
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:
At least to help debug your issue, you can try:
- Renaming one of the GetRequest services.
- Add a CreateServiceNodeFromXml after one of the GetRequest services and copy the GetRequest service's output for future reference.
word count: 92
-
- Posts: 46
- Joined: August 26th, 2021, 2:02 pm
- Contact:
Re: Binary decision returning improper result
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.
word count: 66
-
- Posts: 573
- Joined: August 26th, 2021, 9:56 am
- Contact:
Re: Binary decision returning improper result
Hello Sheryl,
We are currently looking into this issue of the Binary Decision returning incorrect results. Task 10850 will resolve this issue.
We are currently looking into this issue of the Binary Decision returning incorrect results. Task 10850 will resolve this issue.
word count: 22
-
- Posts: 573
- Joined: August 26th, 2021, 9:56 am
- Contact:
Re: Binary decision returning improper result
This issue was resolved in an earlier revision. Also, the BinaryDecision service has been deprecated and replaced with two new services, Switch and Boolean.
word count: 24