Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Decisions are used when you want to insert a point in your process where the flow will be determined by a set of rules. For instance, in our Leave Application process, once a requestor requester submits a leave request, a review by the supervisor will be required. You will see in the figure below that the transition from the requestor requester to a supervisor happens in a straight line, which tells us that whenever a requestor requester submits a request, that request will always go to the supervisor and there are no other circumstances or conditions in which that will not be true.

Now, what the supervisor decides to do will result in a decision: either choose to accept or reject the application. If the supervisor rejects it, a mail will be sent to the requestorrequester. If the supervisor accepts it, the application will be forwarded to the HOD.

...

A fork is used when your process needs to split ways concurrently, meaning that your process will be travelling traveling along 2 separate paths (hence, "fork"). For instance, in our given example, once the requestor requester submits his leave application, a notification is sent to both his supervisor and HOD at the same time. If that is the case, we'll need to add a route, set the split type to "and" and our process will look like:

...

Joins usually occur when you have separate paths (usually caused by previous forks) in your process that you intend to merge. In our Leave Application process, once the requestor requester submits his leave application, both the supervisor and HOD are notified. Once they respond, the application ends up at the back office desk for further processing.

...

  1.  XOR (or exclusive ORs in geek talk) means that the route is active and considered fulfilled once any of the transitions reaches it. So if you use the XOR option in your join route, the back office will be notified the moment either the supervisor or HOD responds.
  2. AND means that the route will wait for all the transitions to be completed. So if you use the AND option, the back office will only be notified if and when both the supervisor and the HOD have responded.

To sum it up, once the requestor requester submits an application, the supervisor will decide on whether to accept or reject. If the supervisor accepts, the application will go to the HOD for approval. Two routes are needed here: one for when the supervisor approves and another for when the HOD approves. Again, while the position of the routes in specific swimlanes doesn't really matter, it is ideal to keep the process legible.

...