If I call: graphSession.findLatestProcessDefinition(PROCESS_NAME) It throws a JbpmException if the process definition is not found.
Since I prefer not to use exceptions for flow control, is there any way for me to check if a process definition exists in the database short of calling one of these methods (or something heavier-weight, like retrieving all process definitions and versions and iterating through them, which is probably worse for performance than an exception). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070624#4070624 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070624 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
