How can we return an functional error in activiti 7
We have a usecase where we need to perform some business validations when a process is started and return an error code with synchronous response in case the business validation fails. Is there any way we can do that in activiti 7. Below is an example of validating the input parameters inside the XML which should return an error code in case validation fails.
We have tried the acitivit 6 way but the tags are not working. No error code is thrown in case we execute the XML. We have also tried to add boundaryEvent and attach it to the validateInputImpl still it does not throw any exception.