3 Replies Latest reply on Dec 25, 2005 1:50 AM by enazareno

    How to make a process state blocking

    enazareno

      Hello,

      I have two processes A and B where B is a subprocess of A. A triggers B when it reaches the process-state node. I want only A to continue when B has ended ( similar to blocking of tasks where the node does not continue unless all tasks are ended). I have observed if i signal A it proceeds. I am using 3.0.2. For safety measure, I would want jbpm to handle it. Is this a bug or have I missed out something? Thanks

      Regards,

      Elmo

        • 1. Re: How to make a process state blocking
          koen.aers

          Elmo,

          The implementation of the leave method of the ProcessState node learns me that there is currently no way of blocking the signal. If you want to have the feature, add a JIRA request for it. If you want it really badly, attach the implementation of it... ;-)

          Regards,
          Koen

          • 2. Re: How to make a process state blocking
            enazareno

            Dear Koen,

            Thanks for your reply. Anyway, I think I can implement it using a fork, however a blocking would be much more convenient. I will try to check on the code and see if I can do something. I know these are not your priorities. Merry Christmas and enjoy the holidays.

            Regards,

            Elmo

            • 3. Re: How to make a process state blocking
              enazareno

              Hi Koen,

              I have posted a JIRA for this as you suggested. The issue no is JBPM-479 as a feature request. http://jira.jboss.com/jira/browse/JBPM-479.

              I would appreciate if you can tell me if its possible or not. Like I said, I do not have a full test case of it and I don't have ample time to check the code for everything much alone testing all scenarios. Nice if you could point out to me the consequences. Thanks a lot.

              Regards,

              Elmo