6 Replies Latest reply on Nov 11, 2013 4:53 PM by jemmerling

    Event-based or event-driven gateway in jBPM5?

    jemmerling


      Is the event based gateway supported in jBPM5? In which release and to what extent?

       

      Is there a preferred alternative e.g. event nodes leading into a converging gateway?

       

      Thanks!

        • 1. Re: Event-based or event-driven gateway in jBPM5?
          swiderski.maciej

          event based gateways are supported both in 5.4 and 6, here you can find a test case from v5.4.

           

          HTH

          1 of 1 people found this helpful
          • 2. Re: Event-based or event-driven gateway in jBPM5?
            jemmerling

            Hi,

             

            I would mostly like to see how this is represented in BPMN2. Less interested in coding at this point, thanks!

             

            --John Emmerling

            • 3. Re: Event-based or event-driven gateway in jBPM5?
              swiderski.maciej

              here is one example used by that test.

               

              HTH

              1 of 1 people found this helpful
              • 4. Re: Event-based or event-driven gateway in jBPM5?
                jemmerling

                Hi Maciej,

                 

                Sorry it took so long to reply. I had to install the latest demo at home to view the diagram (BTW the installer as published expects Helios which no longer works so it took me a little while to figure out how to work around that).

                 

                So I know it's horrible netiquette to ask this sort of question, but can you explain in a couple of simple sentences what the process represents? Or just tell me if my understanding is correct?

                 

                My understanding: the process begins by sending an e-mail (the Email1 service task) then waits for a response (the event-based gateway) then splits on whether the response is positive or negative.

                 

                What I'm not completely clear on is whether the Email1 task sends an e-mail and exits or if it simply waits for ("subscribes to") a particular type of incoming e-mail.

                 

                Thanks again for your patience and advice!

                 

                --John Emmerling

                • 5. Re: Event-based or event-driven gateway in jBPM5?
                  swiderski.maciej

                  jemmerling wrote:

                   

                  So I know it's horrible netiquette to ask this sort of question, but can you explain in a couple of simple sentences what the process represents? Or just tell me if my understanding is correct?

                  no worries, that's why we have user forum to ask questions

                   

                  jemmerling wrote:

                   

                  My understanding: the process begins by sending an e-mail (the Email1 service task) then waits for a response (the event-based gateway) then splits on whether the response is positive or negative.

                   

                  What I'm not completely clear on is whether the Email1 task sends an e-mail and exits or if it simply waits for ("subscribes to") a particular type of incoming e-mail.

                  email node simple sends the message and moves with the flow leaving the email node. Then it will go into the event based gateway and wait for any events that are following gateway. Whatever signal event is received first that branch will be triggered.

                   

                  HTH

                  • 6. Re: Event-based or event-driven gateway in jBPM5?
                    jemmerling

                    Thanks! I believe this takes care of me for now!