2 Replies Latest reply on Dec 21, 2006 10:42 AM by kukeltje

    Doubt with subprocess

    fjfernandez

      Hi everybody,

      I have some doubts using subprocess in jbpm. Before starting with jbpm, i worked with wfmopen and i could do all these things i don't know if they are possible in jbpm, so a little of help would be apreciatted:
      1. My application has a main window with the list of my process definitions and when i click in one of them, a new window with the list of tasks is shown. Among my process definitions, i have some of them that are only disegned for be used like subprocess of the rest of definitions. Is there any way to indicate that special case so it doesn't appear in my main window?
      2. Subprocess (call it PD2) is a process definition, so when its instances are created for its superprocess (call it PD1), the new task is create for PD2 and not for PD1, so in my main window i have to click in PD2 instead of PD1, that is the desired behaviour. Is there any way to get that?

      Thanks in advance and regards

        • 1. Re: Doubt with subprocess
          yanfrish

          Hi fjfernandez,

          I have a similar problem and i didn't found a really good solution, so all i'm going to tell you should be used only as a guide. I writed all the definitions that were used only as subprocesses in an properties text file and this way i could filter the process definitions that were listed. This is a valid solution for your first problem, but i have not found the way for tasks from subprocess appearing in the window of the main process. Maybe my solution isn't the best, but is the only one i could find. If anyone can help or you find out anything about this, please post it.

          Regards

          • 2. Re: Doubt with subprocess
            kukeltje

            the answer to the second question is to write custom queries and design your own tasklist ui