An "Unable to save the flow" error occurs in SAS® Visual Investigator


In SAS Visual Investigator, the following pop-up error might occur when you edit and save a scenario flow:

Unable to save the flow.
Contact your administrator if the problem persists.
An error was detected in the data that prevents the operation from completing.

The problem occurs when the SAS® Visual Scenario Designer tables are truncated due to a large number of defined rules. 

Workaround

To work around the issue, alter the tables below to increase the variable character size. The example below uses 15,000.

ALTER TABLE vsd_scenario
ALTER COLUMN keep_columns_txt TYPE VARCHAR(15000);

ALTER TABLE vsd_rule
ALTER COLUMN RULE_CONDITION_JSON_DOC TYPE VARCHAR(15000);