Is there an API that will allow me to validate a workflow - not by schema, but by checking to see if the workflow design is such that it starts and ends? What I am looking for here is something that will validate the digraph/flows of the workflow, not an API that simple does schema validation of the BPMN. I would also like to do this programmatically, not through Eclipse or Designer, so that's why I am asking about an available API.
I believe it may also be possible to have a situation that involves signals where the process may not appear to be a digraph, but the workflow is still valid. Again, I would like to know if there is an API that will allow me to accomplish validation in these cases?
Thanks.