JBoss Community

How to validate process definitions , before creating the Knowledge base object

created by Arun V G in jBPM - View the full discussion

Using Knowledge builder I am creating the Knowledgebase by feeding in the process definition as byte array.

 

 

If there is an invalid process definition the API would return an IllegalArgumentException "Could not parse knowledge base..."

 

How can I do the validations up front, so that I can validate the process definitions individually and show the user that errors are present.

 

I there any API available.

 

Any hints ?

 

 

Cheers :)

Reply to this message by going to Community

Start a new discussion in jBPM at Community