-Save and route doesn't work on saved draft
-How to reproduce error message
1.Open form and fill it
2.Save as draft
4. When try to save and route it will give you error message
1. Reason for this error is the Button Behaviour selected as Custom; when it is marked to Custom it shows error; Change the function to Save and Route it moves to the next stage in workflow.
This is known issue and an improvement has been raised for the same.
2. Another option is to add JavaCode on the Custom button which allows to keep the custom button with the code. For example, there is a custom rule added to the custom button. That code contains the submit form action. It is possible to change inside the code the submit number from 0 to 5 and after that the error did not occur anymore.