How to use a savable Data Page in a low code way? Regarding the required or optional attribute of the pyGUID parameter
Hi,
Creating a case in App Studio, I create a step that is saving data to a data object. It is a "Collect Information" step, configured with a field of the "Data reference"/"Data relationship" type, pointing to a data object. This data object is saved in the Pega database.
In App Studio I set the "Optionally save to the following objects" to the correct data object.
When I test this construct I get the following error:
-
The Flow Action post-processing savable data pages/auto populate properties failed: Failed to save auto populated property 'TestData' : Required parameters for Data page D_TestSavablemissing
It seems that the pyGUID is empty when it is submitting the form. The pyGUID on the savable datapage is required.
To fix this behavior, I can make the pyGUID optional on the savable data page. And it will work that way.
Question is: is this the correct way? It does not seem low code, to alter the requiredness of the property in Dev Studio. Shouldn't the pyGUID parameter be optional by default?