AY

Hi guru,

In programming logic, there is IF, ELSE IF, ELSE IF...

I am wondering if a decision gateway connects to another decision gateway is allow in BPMN rule.

Please refer to the attached screenshot.

Please tell me if it is against BPMN rule.

Thanks and regards,
Anning

 

by M. Zschuckelt
Posted on Thu, 02/18/2021 - 08:36

Hi,

I can see no reason by the specification that would object to this pattern. The exclusive gateway conditions work with data present in the process. So technically this is possible.

I personally do not like the style. In your example I would prefer a single exclusive gateway with four possible results, with a more complex condition denoted on each sequence flow.

In your variant you begin thinking in terms of decision trees rather than process flow. In fact any of the four tasks directly follows your decision task.

Just my humble opinion.

0
by Anning Yeow Author
Posted on Thu, 02/18/2021 - 10:22

In reply to by M. Zschuckelt

Hi Zschuckelt,

The reason I need two gateway decision is that activities performed by Task C and the group of Task B are entirely different. Meaning, this particular process that I am working on first have to check the first Gateway Logic.

Hence, I believe I am not breaking the BPMN rule based on your feedback.

Thanks.

Anning.

0
by M. Zschuckelt
Posted on Thu, 02/18/2021 - 10:40

In reply to by Yong Yeow Ching

As I said, it is perfectly fine. In my preferred option you would need 4 condition expressions:

  1. A = Yes
  2. A = No and B=1
  3. A= No and B=2
  4. A= No and B=3

If this is becoming too complex, you might consider a "Business Rule" task before the exclusive gateway, which represents a decision table with some simple outcome: 1, 2, 3, 4. Then your process would be looking very lean again and you would have one object where to maintain the business logic - or even delegate this to a rule engine where you implement the business rule, if this is going to be executable.

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock