I have an Infopath form and published to the forms library and a workflow running on the forms library. I want to send an email to the user with the link to the Infopath form.
I tried current items encoded URL and workflow context current item URL. This works fine when there are no attachments. When I attach a file using attachments control on my Infopath form and click submit, it has to save data to library and close the form.
In general, when I click submit, the data gets saved and form closes. But when I attach a file and click submit, data gets saved to the library but the form doesn't close.