Thanks for the reply .
This surely helps when the process definition is done using the web designer.
Suppose the process definition is done manually ( more a developers way though) , Can I validate each process definition using a core engine API.
Surely it is doing it now on
I wanted to do the validation individually. Is there any API exposed for this purpose.
1 of 1 people found this helpful
I thing from API you can verify using kbuilder.hasErrors() or kbuilder.getErrors().
In the latest source available in github the KnowledgeBuilder interface have a method undo
So that it looks like I can implement my use case as below
Comment given on undo method in the code :
* Remove the last added Resource.
* Can be useful in case this last addition generated some compilation problem.
* If multiple Resources have been added in batch using a CompositeKnowledgeBuilder,
* it removes all of them.
But unfortunately I think the version included with JBPM5.2 doesn't have this method ( knowledge-api-5.3.1.Final.jar ) .
In my work environment I am not allowed to work with an unreleased (latest) version .Does anyone know a workaround.