Hi,
Is there any way in the repositoryService to avoid double deployement of the same process ?
I create a task starting with my application trying to load some jpdl files.
For the moment it is a really simple task.
As far I test it, if i try to launch it 2 times, it works, but it deploy 2 times the same process !
Is there any way to check before or during the deployement ?
I start something reading the name an the version of the process directly into the jpdl file but I think is is not the better way !
Any one have an idea ?
Hi,
you could use repositoryService to create ProcessDefinitionQuery and then use that query too check if you have already a process definition with a given name.
Check Java docs for details.
Cheers,
Maciej