I am sending a List of string from my main to NewForm.
This enables me to have a dynamic drop down list.
Now I need to know what value is returned from the form (what the user selected)
m Value activity is failing:
Get Form Values: The form was not found. Please make sure that you have shown the form before and that the Instance Name you’re using is correct (FormNotFound)
why can’t it see the form?
How else can i get the user input?
Make sure that the form has been shown to the user and that you are using the correct instance name. You can also try using the Wait for Form to Close activity to make sure that the form is not closed before you try to get the values from it.
and form is should also be in the same workflow as the Get Form Values activity.
Hey thank you for the advice, but I don’t think any of things you mentioned is applying to me… perhaps I’m wrong. I’ve attached my main workflow and my form. If you could take a look I’d really appreciate it
Got the same kind of issue in a slightly different context (trigger). What I found is that if you choose the Submit action in the form when clicking on a button then you get nothing back in the Get Form Values activity. It’s like the form is closed.
To solve the issue, I modified the Submit button on the form and selected Event with an event name (SubmitClick in my case).
OMG, this way of working with forms is really clumsy, not to mention the lack of proper documentation / tutorials. I’m having a hard time for merely arranging 3 buttons and get which one did the user click.
Hi guys,
You need to do two things in order to get the values from a Form.
1st : Don’t use a “Submit” Action on the form that you are showing. It’ll close the form before your trigger has started and thus the possibility to get the values using the get values activity. So just use a dummy Action “event” (with no Button Event). It’ll keep the form open and when you have clicked on it, the trigger for that button will start.
Then, AFTER you have get the values, use a CloseForm activity
2nd : Use a unique “instanceName” that’ll identify your form. Put it on the showForm, on the Trigger and on the GetValues activities.
The instanceName should be a variable at global (not main but global) level and has a unique value (you can even use a guid if you want).