This content has been marked as final.
Show 4 replies
-
1. Re: how check if process definition deployed?
estaub May 10, 2007 4:55 PM (in response to simonbaker)Simon,
If it's in the API, I don't see it anywhere I'd expect.
Here's some idea of how to check this... look in jpdl\jar\src\main\java\org\jbpm\db\hibernate.queries.hbm.xml.
Find the query/queries that do what you want, then search for where they're used to see if they're exposed in an API.
Please share what you find.
-Ed Staub -
2. Re: how check if process definition deployed?
simonbaker May 10, 2007 5:39 PM (in response to simonbaker)Hey thanks, I was looking for those queries...
(still looking for the washroom...)
I thought maybe I could trap an error on some call in desperation, but haven't found a safe one to call. I'll keep checking. -
3. Re: how check if process definition deployed?
simonbaker May 10, 2007 5:49 PM (in response to simonbaker)Maybe this is most direct way to do it:
jbpmContext.getGraphSession().findLatestProcessDefinition(String name)
although it looks like you have to trap an error if it doesn't find it. -
4. Re: how check if process definition deployed?
kukeltje May 11, 2007 5:17 AM (in response to simonbaker)correct