Dear Support Team,
I am writing to report an issue I've encountered regarding data display within my scripts and to inquire about the intended functionality of certain settings.
Specifically, I've observed that using "set Pop screen" with empty data inputs results in participant data being cleared (set to "") in my inbound flow. This occurs because I leave the data input fields empty in the "set pop screen," which defaults to setting the data to "". Subsequently, the script returns the participant data with this empty value.
To address this, I attempted to unset the output button while creating custom variables, leaving only the input button enabled. My understanding was that this would display empty values in the scripts without clearing the participant data, as the data would not be returned. However, this did not appear to function as expected, leading me to suspect a potential issue with the input/output settings.
I was able to resolve the immediate issue by removing the empty literal value in the "set Screen Pop" and instead using "no variable." This leads to my primary question: Why is the default value of "set screen pop" an empty string rather than "no variable"? Is there a specific reason for this design choice?
The current behavior necessitates updating all "set Screen Pop" configurations whenever I make script updates or create new variables to prevent data from being cleared. It would be significantly more efficient if the default was "no variable," allowing new participant data to be added without requiring extensive updates across all "set Screen Pop" instances. This would streamline script development and deployment.
Thank you for your time and assistance in clarifying this behavior.