Switching back to the Default View if a Workflow approval is rejected
-
31-12-2020 - |
题
I've set up an InfoPath 2013 Form Load rule to switch view after a form is filled in and submitted. Works fine.
How would I switch back to the original Default view for the user to edit the form if it's rejected?
解决方案
- Create a field in the InfoPath form "FormView" with a default value of 0.
- Promote the field to SharePoint.
- Add a Form Load rule to switch to the original view if FormView = 1.
- In your workflow, if the approval is rejected, update the FormView field to 1.