When we have a read-only input field, lets say "msg". then we cant use scope.model.msg.error = {msg: myError}; If the field is writeable, everything works fine.
We need to use the workaround with the formscript and error function because its not possible to evaluate the start conditions of a process.
I know it does not make sense to have an error method on a read-only field, but at the moment we are forced to use this workaround. It should just tell the user an information "are you sure to start the process".
Any other suggestions to set an error on a formscript?