2 Replies Latest reply on Jan 13, 2006 3:20 AM by stembol

    subprocess doesn't pick up latest definition

    guy.walker

      Hi,
      I was just testing versioning of process definitions (using an oracle db), and in the tests I've done it seems that when I process instance is started as a subprocess of an earlier process the subprocess doesn't start using the latest version number. (not quite sure if it is deliberately using the earliest or just the first one it finds, which happen to be the same thing)
      Is this a known problem? Is there a <sub-process> attribute I should be using to force JBPM to look for the latest version?

      Thanks,

      Guy

        • 1. Re: subprocess doesn't pick up latest definition
          enazareno

          Hi Guy,

          check out the versions of your definition. This may not be related to you subprocess problem, but i've noticed if you dont place a version in the process definition, it does not necessarily know the latest process definition. This has already been fixed by 3.1beta cause when you upload it automatically increments the versions. If you're still using 3.02 i suggest you include the version. you can do this by using the setVersion method in the process definition.

          Regards,

          Elmo

          • 2. Re: subprocess doesn't pick up latest definition
            stembol

            To get the latest version of the subprocess, you have to redeploy the master process as well.