Hi, I ask me if there is a method for display custom error message into a my workflow task…
For example I want to display an error if the user don't add a new document to the workflow, so the custom messgge will be display into the standard view error message like this: [img]http://img223.imageshack.us/img223/144/errorm.png[/img]
Can you help me? I hope that this request can solved with javascript into the jPDL-jBPM workflow code.
I am wondering the same thing, but not about an attachment, but just concerning any field in the task UI. Based on what I've seen so far, it is not possible to create a message that appears in the same place as an Alfresco generated message using only javascript. One idea to investigate, since I don't know if this is possible, is to create a custom constraint on bpm_package and validate that it contains content and report the error that way.
Hello, Is it possible to force an error or info message (like shown in screenshot) out of a custom dialog bean using java, without throwing an exception?
Just saw this thread looking for an answer to the same question.
org.alfresco.web.ui.common.Utils.addErrorMessage seems to add errors to the form. I haven't figured out how to squelch the default workflow transition error message, but it's a start!