Problem Note 66784: Calling the same decision flow from two different levels generates an error in SAS® Intelligent Decisioning
In SAS Intelligent Decisioning, the following error is generated (via Scoring ► Tests) when you call the same decision flow from different levels:
ERROR: An error occurred while generating code for the node named "Diagram2" with type "application/vnd.sas.decision.step.custom.object". The decision includes a decision "d0ec04f6-15ac-4143-8471-c1fca654a2fb" that includes itself as a step in its decision flow.
For example, the error occurs when you call a decision flow from a top decision flow and from a subflow of that main flow. When the error occurs, the execution returns a null value. This problem happens,when both decision flows point to the same subflow. As illustrated below, Top diagram calls Diagram1 and Diagram2. Diagram2 also calls Diagram1, which creates the double reference to the same flow.
When the flow is called using a REST call to SAS® Micro Analytic Service, the error is not displayed. Instead, the values that are returned are null, even though a value is expected.
To work around this issue, copy the flow that is referenced multiple times. Point to the copy (or copies) so that no one flow is referenced more than once for different levels of calls.
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
Operating System and Release Information
SAS System | SAS Intelligent Decisioning | Linux for x64 | 5.4 | 5.5 | Viya | Viya |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2021-08-25 07:31:25 |
Date Created: | 2020-10-15 03:03:33 |