Hello all.
I have an InfoPath form with 3 views: User View, Manager1 View and Manager2 View.
The 3 views are different.
In the form library, when the user press on new, the form is opening and he fills it out.
i want that when he press on submit, the form will be saved in the form library (that is not a problem) and i want the view to be changed to to Manager1 View.
after that, a workflow will run on the form library that will recognize that a user filled out the form and submitted it (that's not a problem either).
Then, i want the Manager 1 to open the same form and see the Manager 1 View, then, he press on Agree and the form will be submitted to the form library again and change the view to Manager2 View.
Then, after Manger 2 opens the form and fills it and then submit the form and that's it.
That's the scenario :)
How do i make a submit button (or a button) that changes the view so when the form opens up again, the user/manager will see his view?
Any ideas ?