4 Replies Latest reply on Feb 21, 2012 4:37 AM by arunvg

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

    arunvg

      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.

       

      Generally I don't want to feed the kbuilder any invalid BPMN  files.

       

      Is there any API available.

       

      Any hints ?

       

       

      Cheers