My initial values program is setting an app variable to a default value based on the location of a user (using IP ranges).
I would like to set the default value for a dropdown list defined as a Prompt when calling an RPG program. In developer tools, I can see my app variable being set correctly, but my prompt always shows the first value in my list.
Example... my app var "defaultZebraPrinter" is set to the value of 'ZEB08' in the initial values program.
But when the prompt is loaded, it is replaced with the first item in the list. Occasionally, I see the expected value but it's quickly replaced by the first item in the list.
What am I doing wrong?
prompt.png
I would like to set the default value for a dropdown list defined as a Prompt when calling an RPG program. In developer tools, I can see my app variable being set correctly, but my prompt always shows the first value in my list.
Example... my app var "defaultZebraPrinter" is set to the value of 'ZEB08' in the initial values program.
But when the prompt is loaded, it is replaced with the first item in the list. Occasionally, I see the expected value but it's quickly replaced by the first item in the list.
What am I doing wrong?
prompt.png

Comment