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.
When building knowledge base using KnowledgeBuilder you can check its errors by refering to getErrors() method. That shall give you quite fair amount of information about what happened and usually where.
HTH