Hi Friends,
I am running into a issue that I am unable to fix, inspite of multiple efforts. Here is the issue, hopefully you can help fix this
I am trying to Submit the below Form. On the "OnSelect" of the Submit button, I have the following :
1. SubmitForm(EditForfm1) ; --> This is submitting to a SharePoint List and creating that entry there
2. RightSigWorkflowProcess.Run --> In this, I am passing two parameters that this Flow expects.
-EditForm1.lastSubmit.ID - I am passing lastsubmit ID, as I need that to send emails to people with details of this specific item etc.
-Datacardvalue15.Selected.value - This is a dropdown field with few options. The purpose is to pass the value selected in this field, to flow so that it can be used in a condition to send email
3. Then I am using a simple notification
The problem I have is with the Datacardvalue15.Selected.value . When I fill this form and hit the submit button, it resets the fields entered in the form. So the submit fails as it cant find the value (As all form fields are reset on submit).

Please help me with this. I have tried various options such as
-Playing around with form mode (edit or new)
-setting the "onsuccess" property of the Editform to - editform1.lastsubmit OR editform1 (nothing works)