Problem Note 65387: Required fields are not validated in a page prompt if you have not edited any field
In a workflow in SAS® Visual Investigator 10.5.1, you click Save in a page prompt, but a field that is set as required is not validated. This issue occurs if you open the page prompt but you do not edit any field in the page prompt.
Here is an example of how this issue occurs. The example discusses a workflow for a case, but the issue can occur with any entity type.
Take these steps in the Administration interface:
- For a case entity, create a string field that is called "test" and keep all default settings.
- Create a new page for the case that is named "testPage," and drag only the test string field on to it. Select the Required check box and save the page.
- Add the Edit and Save button and the Workflow Task button to the toolbar for the page.
- Create a new workflow for the case.
- Click the Properties tab for the new workflow, and ensure that the Enable workflow and Start this workflow on creation of “Case” objects check boxes are selected.
- After the Start element, add a User Task element that includes the following settings:
- Participants are SAS Visual Investigator users.
- An Action button has a default action to specify the page prompt as testPage.
- Add an End element after the User Task element.
- Save the workflow.
- Ensure that the case is enabled in the Create New control on the Home page.
Then, take these steps in the Investigation interface:
- Create a new case, and save it.
- Click the Workflow Task button to open the task pane.
- Click Claim, and then click Completed
- When the page prompt comes up, click Save.
The prompt closes and the action completes without validating any of the required fields.
In addition, in SAS® Visual Investigator 10.5, the following pop-up error message appears:
Unable to save Case
The Case could not be saved because field values are missing. Enter a value for the following fields:
Test
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 Visual Investigator | Linux for x64 | 10.5.1 | 10.6 | 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-02-02 08:53:38 |
Date Created: | 2020-01-20 15:10:07 |