Form data validation when workflow applied

benyamin jain asked on November 20, 2017 18:54

Hi

I am testing kentico cms 7.92 workflow engine applied on some document type. each document type has some fields that must be validated before submitted to next step in workflow.

as i test , i found that form validation only occurs when we save form , but if we directly click on Approve bottom no form data validation occur anymore.

Is this right behavior? Why no form data validation occur by directly approving document?

Recent Answers


Brenden Kehren answered on November 20, 2017 20:34

The approve button is not the default submit button so it does not perform the validation like the save button does. In most cases, it will save the data if it has changed, although I have not tested with the Approve button. When you have an object checked out and check it back it before saving, it saves then checks it back in. You may present this to Kentico as a bug, but since you're on a version that is over 5 years old I can guarantee nothing will be done. But if you can verify it within the current version 10, they will get a bug fix out for it.

2 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.