I'm working in InfoPath 2010. I've created two additional views in addition to the default Edit view (Approver and Processor). I have three different statuses (Requested, Approval in Process, Processing) which get changed by a SharePoint Designer 2013 workflow. I created two buttons on the Approver and Processor views - submit and cancel. I have attached a rule to the Submit button that when the button is clicked it runs the following Actions 1) submit the data to the main data connections and 2) close the form. However, it's not closing the form but the item has been saved because my workflow kicks off. If I click submit again, I get a message that the form has been closed.
The cancel button's rules is set to just close the form. However, same thing happens, once I click cancel the form is still showing. If I click cancel again, I get a message that says the form has been closed.
Ideally, I would like to return to the list view which is what is done in the default Edit view after a user clicks on the Submit button.
I did this a few years back on 2007 versions and it didn't seem this hard for what should be a simple thing to do.
Any help is appreciated in advance.