Problem Note 66248: Calling a SAS® Micro Analytic Service module that is created by SAS® Intelligent Decisioning through a REST API only succeeds the first time
When you issue a REST API call against a module that is created by publishing a SAS Intelligent Decisioning decision to SAS® Micro Analytic Service, the first REST API call against the module returns expected results after the decision is published. However, subsequent calls do not return the expected results.
This problem can happen when the following circumstances are true:
- The decision contains a sub-decision.
- The sub-decision node contains DATAGRID variables that do not belong to either input or output.
To work around this issue, you need to add a DS2 Code node immediately after the Start node in your decision. The code should look similar to the code that is shown below.
Note: You need to list all DATAGRID variables from the sub-decision node that do have neither Input nor Output selected.
package "${PACKAGE_NAME}" /inline;
method execute(package datagrid temp1,
package datagrid temp2);
datagrid_clear(temp1);
datagrid_clear(temp2);
end;
endpackage;
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 | | 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: | 2020-07-10 16:34:21 |
Date Created: | 2020-07-06 15:16:22 |