-
1. Re: Advices needed on process definitions deployment strateg
rams.rapol Jul 23, 2009 3:31 PM (in response to ronanker)This is how we are working around for this issue..
You can get the list of process definitions deployed with given process def name.. List<ProcessDefinition> processDefList = repositoryService.createProcessDefinitionQuery() .processDefinitionName(processDefName) .orderDesc(ProcessDefinitionQuery.PROPERTY_VERSION) .page(0, 1).list(); loop through it to get highest version.. Long version = processDefList.get(0).getVersion() now compare above version with a property file having process definition and version number as key value pair. If they match, don't do anything, else go ahead and update deployment.
-
2. Re: Advices needed on process definitions deployment strateg
kukeltje Jul 23, 2009 5:27 PM (in response to ronanker)A properties file should not be needed since for jBPM4 the version can be in the processdefinition
Besides that , I do think that this belongs 'hidden' in the implementation of the deployer and silently to nothing (or maybe log just a warning)
Please file a jira issue for this. -
3. Re: Advices needed on process definitions deployment strateg
ronanker Jul 24, 2009 4:54 AM (in response to ronanker)Thanks for your replies,
@kukeltje
If I understand you, you say that the jBPM repositoryService should not throw the exception, right ?
I would be pleased to post a jira but it seems that I have a readonly access to the jboss' jira. -
4. Re: Advices needed on process definitions deployment strateg
kukeltje Jul 25, 2009 11:16 AM (in response to ronanker)Did you login? Then you should have write access to
And yes, I think it should not throw an exception -
5. Re: Advices needed on process definitions deployment strateg
ronanker Jul 28, 2009 7:27 AM (in response to ronanker)Did you login?
Yes. I can see my name on the upper right corner and edit my profile. But I did not find how to create a jira. -
6. Re: Advices needed on process definitions deployment strateg
kukeltje Jul 28, 2009 8:30 AM (in response to ronanker)There is a 'create new issue' at the top of the screen, next to
HOME BROWSE PROJECT FIND ISSUES CREATE NEW ISSUE -
7. Re: Advices needed on process definitions deployment strateg
kukeltje Jul 28, 2009 8:30 AM (in response to ronanker)and in the top-right corner is a 'help' icon
-
8. Re: Advices needed on process definitions deployment strateg
ronanker Jul 29, 2009 1:04 PM (in response to ronanker)There is a 'create new issue' at the top of the screen, next to
HOME BROWSE PROJECT FIND ISSUES CREATE NEW ISSUE
No. There is no link like that on my screen. just
HOME BROWSE PROJECT FIND ISSUES