JBoss Community

Capture the validation error for java scriplets and conditions

created by Saju Chithran in jBPM - View the full discussion

Hi,

     I have developed a UI for process defintion. While loading the process XML to engine, some time I get erroro due to coding mistakes in my on entry and exist scriplets or on the gateway conditions. Each time I need to look for the error in the LOG. Is there any way, I can capture the error from the engine and display it in my UI.

BTW I was using webservice to load the defintion to engine. Currenly I just return the error, not the cause. I want to siplay th cause bac to UI, so that one can correct it and load it againt, rather than going to the LOG.

 

Thanks.

Reply to this message by going to Community

Start a new discussion in jBPM at Community