Hello friends,
I'm working on an app as a workflow solution for my colleagues. Within this app, I am using a very strange method to "save" each user's choice as a default value that the app checks for during OnStart. Here is that method:
When a user selects a value for a combo box and clicks a button to send their choice, a list item is created in a SharePoint list containing 2 values: User().FullName & Combobox.Selected.Value. Next time the app starts up, OnStart sets a variable to the Combobox.Selected.Value associated with the current User().FullName. The combo box's default value is set to that variable defined within OnStart.
A value is required in Combobox in order to send the user's inputs. Herein lies the problem: When I try to send user's inputs (with the Combobox.Selected.Value default value) however the app is not reading the default value so I get an error when I try to send. Unselecting the Combobox.Selected.Value and selecting it again does fix this, however as I'm sure you know defeats the purpose of saving a user's input preferences.
My question would be: Why is my app not identifying that there is a default value selected in the Combobox? I can literally see that the value is selected and I will still receive an error.
Thanks for any help you can provide and have a great day!