AnsweredAssumed Answered

Workflow error customize

Question asked by leftright on Oct 4, 2012
Latest reply on Oct 5, 2012 by afaust
How is it possible to change the text in the pop-up window, when workflow can't move to the other transition.
Here is an example of what I get in pop-up, when there is an error during action in workflow
org.alfresco.service.cmr.workflow.WorkflowException: 09010602 Failed to signal transition approve from workflow task jbpm$3264.
So how does one change this text, I am especially interested when the exception comes in javascript code for an action.
Also is it possible to have different texts, for different exceptions inside the same action.
So for example in one of actions in my workflow, this exception could happen because of missing metadata on document, or beacuse
we are moving file during action in a folder that already contains this name. How do I differentiate between these 2 possible errors ?

Thank you for your answers.