<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rick Geneva - ProcessModeling.info &#187; BPMN</title>
	<atom:link href="http://www.rickgeneva.com/wp/posts/category/processmodeling/bpmn/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rickgeneva.com/wp</link>
	<description>Insightful information on business process modeling from Rick Geneva</description>
	<lastBuildDate>Tue, 24 Nov 2009 16:40:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Demystifying the Event Driven Gateway</title>
		<link>http://www.rickgeneva.com/wp/posts/demystifying-the-event-driven-gateway/</link>
		<comments>http://www.rickgeneva.com/wp/posts/demystifying-the-event-driven-gateway/#comments</comments>
		<pubDate>Mon, 21 Sep 2009 13:35:50 +0000</pubDate>
		<dc:creator>Rick Geneva</dc:creator>
				<category><![CDATA[BPMN]]></category>
		<category><![CDATA[Process Modeling]]></category>

		<guid isPermaLink="false">http://www.rickgeneva.com/wp/?p=201</guid>
		<description><![CDATA[Event Based Exclusive Gateway
The event driven gateway is one of the most useful symbols that I know of in BPMN.  Yet it&#8217;s often overlooked as a solution to common problems.  It is a compound symbol, inheriting attributes of other BPMN shapes.  First of all, it&#8217;s a gateway that is used to split [...]]]></description>
			<content:encoded><![CDATA[<h1>Event Based Exclusive Gateway</h1>
<p><span style="font-weight: normal; font-size: 13px;">The event driven gateway is one of the most useful symbols that I know of in BPMN.  Yet it&#8217;s often overlooked as a solution to common problems.  It is a compound symbol, inheriting attributes of other BPMN shapes.  First of all, it&#8217;s a gateway that is used to split sequence flow paths.  The gateway is the diamond symbol.  Inside this diamond shape you will see the intermediate event shape, which is the double thin line circle.  Inside the intermediate event shape there is the pentagon, which is a symbol for multiple events.  So when you put all of this together we have a gateway that deals with multiple intermediate events.</span></p>
<div id="attachment_231" class="wp-caption aligncenter" style="width: 76px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/eventbasedgateway.gif"><img class="size-full wp-image-231  " title="Event Based Exclusive Gateway" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/eventbasedgateway.gif" alt="BPMN version 1.1 and higher" width="66" height="66" /></a><p class="wp-caption-text">BPMN version 1.1 and higher</p></div>
<p>In all of my classes I tend to get more questions about the event based gateway than any other shape in BPMN.  This is probably because there are so many use cases for it, and its pattern to many people appears to be drawn backwards.  Most beginners in BPMN tend to draw the pattern with the intermediate event shapes to the left of the gateway.  Let&#8217;s start by looking at the basic pattern and then discuss some of the potential business scenarios where you could use this notation.</p>
<p><span id="more-201"></span></p>
<div id="attachment_229" class="wp-caption aligncenter" style="width: 509px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/ebg-pattern1.png"><img class="size-full wp-image-229" title="Event Based Exclusive Gateway Basic Pattern" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/ebg-pattern1.png" alt="The basic pattern that applies to the event based exclusive gateway" width="499" height="183" /></a><p class="wp-caption-text">The basic pattern that applies to the event based exclusive gateway</p></div>
<p>The main purpose of the event gateway is to illustrate that you must choose between one, and only one event attached to the right.  Any other event would not correlate to the same process instance.  For example, I send a message to a coworker, and he replies either by email or by phone.  The message type is different for the reply, and requires a different action for me to process it.  I don&#8217;t know in advance which message I&#8217;m going to receive. Therefore it is an event that I must react to and process accordingly.</p>
<p>The exclusive behavior of the event based gateway is due to the fact that only one path can be chosen.  This is similar to the exclusive data based gateway, except that event-based means that we are reacting to events instead of data conditions.  With data-based gateways, I already have the condition, and I must evaluate it at the relative point in time that it appears in the diagram.   The event based behavior is expressing that we don&#8217;t yet have the condition at the specific point in time, and we must wait for an event to make the choice of which path should proceed.</p>
<p>There is a unique capability for this gateway to be used at the beginning of a process.  It actually takes the place of the start event in this case.  Often I encounter diagrams where there is additionally a start event to the immediate left of the event based gateway.  This might actually be incorrect, depending on what you are trying to express.  The literal interpretation when you use the event based gateway as a start event reads like this:  My process starts when I receive one of the following events.  The BPMN specification is very specific about using only intermediate events to the right of the event driven gateway. But if it makes more sense to you, think of the intermediate events acting as start events, with the gateway acting as the place where the choice of event is made.</p>
<div id="attachment_230" class="wp-caption aligncenter" style="width: 269px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/ebg-start.png"><img class="size-full wp-image-230" title="Event Based Gateway as a Start Event" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/ebg-start.png" alt="The event based gateway acting as a start event expresses that multiple events can start a process." width="259" height="183" /></a><p class="wp-caption-text">The event based gateway acting as a start event expresses that multiple events can start a process.</p></div>
<p>When used in place of a start event, the event driven gateway is expressing that there are many events that can cause the process to begin.  When used as an intermediate gateway, it expresses that the process is in a wait-state, and will proceed only after one of multiple events have occurred.</p>
<p>In either case of starting a process or continuing a process, the event based gateway merges with the exclusive data-based gateway.  This might sound strange, but merging on gateways is found in a diagram when we want to express that a synchronizing flow exists.  It&#8217;s similar to a traffic symbol.  Exclusive merge means that only one path will ever be permitted through this point in the diagram.  In contrast, parallel merge indicates that all paths are required in order to move forward, and will create a wait-state until all paths have reached the point of the gateway.</p>
<div id="attachment_227" class="wp-caption aligncenter" style="width: 557px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/ebg-merging1.png"><img class="size-full wp-image-227" title="Merging Events" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/ebg-merging1.png" alt="Using the exclusive data-based gateway for merging" width="547" height="183" /></a><p class="wp-caption-text">Using the exclusive data-based gateway for merging</p></div>
<p>Because per BPMN specification, the event based gateway is only permitted to have events to the right, we cannot use it for merging.  But since we only need to express the merging behavior, the data-based exclusive gateway is a suitable substitute.   Often a process modeler will omit the merging gateway.  I am a proponent of always using a gateway for merging because it shows an explicit behavior, rather than leaving the diagram open to interpretation errors.  For example, if I write a quote and don&#8217;t use the close quote symbol, doesn&#8217;t this leave you hanging a bit?   So it&#8217;s better style to always use a merging gateway.</p>
<p>A best practice of using event based gateways is to use multiple event types whenever practical. If you have investigated the merging behavior of gateways, you might already know that it is possible to cause a deadlock or a replicated instance with improper usage of gateways.</p>
<h3>Expecting the Unexpected Condition</h3>
<p>A replication of sequence flow occurs when a parallel split occurs and there is no checkpoint or gateway to ensure that synchronization or merge of the parallel paths occur.  For example, I split with a parallel gateway and I forget to merge with it.  Somewhere downstream I could potentially end up with replication of effort on the same process instance.  Suppose I send a new hire document to IT, human resources, and accounting departments in parallel.  After these departments are complete with the document it is passed to another department who does a background check.  The background check is expensive, and it is outsourced to an external agency.  The external agency will not check to see if the same person is being processed more than once. There must be a point in the process that prevents the background check from occurring three times on the same person.  Potentially every subsequent step downstream in the process might also occur three times until someone finally realizes the error and merges the files.  Before the error is caught, duplication or triplication of effort occurs.  This would be expensive and wasteful.</p>
<div id="attachment_234" class="wp-caption aligncenter" style="width: 710px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/parallel-nomerge.png"><img class="size-full wp-image-234" title="Parallel Sequence Replication" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/parallel-nomerge.png" alt="Without merging, a potential for replicating the downstream activities exists" width="700" height="372" /></a><p class="wp-caption-text">Without merging, a potential for replicating the downstream activities exists</p></div>
<p>Likewise with exclusive behavior it&#8217;s possible have sequencing and synchronization errors without properly handling the merging behavior.  A deadlock condition occurs when a splitting gateway doesn&#8217;t match up with a corresponding merging gateway.  Sometimes this can accidentally occur implicitly whenever the merging gateway is omitted from the diagram.  For example, I send a document to one of three departments.  A fourth department is expecting to receive documents from all three proceeding steps in parallel, but it only ever receives one.  This can be a deadlock situation, meaning because of a merging flow error, the process will never proceed past the checkpoint.</p>
<div id="attachment_233" class="wp-caption aligncenter" style="width: 610px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/gateway-deadlock.png"><img class="size-full wp-image-233" title="Parallel to Exclusive Deadlock" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/gateway-deadlock.png" alt="Improper usage of gateways can lead to process deadlock" width="600" height="195" /></a><p class="wp-caption-text">Improper usage of gateways can lead to process deadlock</p></div>
<p>Deadlocks can occur in event based gateways as well.  But in this case, it&#8217;s not because of using the improper merging shape, or from omitting the merging behavior.  The deadlock is event based.  Event based deadlocks occur when the primary means receiving the expected events has failed.  For example, I send an email to my friend to have lunch with me.  He might reply via email or via calling my mobile phone.  But I don&#8217;t receive a reply so I go ahead and wait at the restaurant anyway.  I assume he must have received the message, because email is so reliable, right?   Meanwhile I&#8217;m waiting at the restaurant for him.  I wait all day.  I wait all week.  Eventually, after about three months, the manager at the restaurant feels inclined to call the police to physically remove me from the restaurant.  My friend actually did receive the message and left a note on my desk that he could not join me.  Because the event (note on my desk) was outside of my processing capacity, I wasted three weeks of my life waiting.  This was a  terribly inefficient process, and could have benefitted from planning for the events based deadlock.</p>
<p>Obviously this is a fictional story.  As human beings we have enough common sense to avoid this situation. But the elaborate computer systems we build don&#8217;t have this kind of common sense.  A stuck automated process will wait forever until an administrator comes along and terminates the process or reboots the computer.   Meanwhile, money was spent, customers were lost, paperwork piles up on someone&#8217;s desk.  Eventually someone will realize the problem, but not until after the customer gets angry.  Or maybe the error is realized after the board of directors becomes angry because your company keeps losing money.</p>
<p>The deadlock of events is usually caused by the assumption that things will always go as planned.  The reality is that in business things go as planned only about 35% of the time.  The other 65% is either the more expensive way to make money, or the ways that money is lost in a business transaction.</p>
<p>In the scenario of me waiting for my friend at the restaurant, my common sense tells me that I should only wait about an hour before I make the decision that he is not coming to meet me.  For other friends this might be two hours because they might be an hour late on a regular basis. But the point is, I would not wait indefinitely.  So the addition of an intermediate timer event to my process flow can save the day when I have an event based deadlock.</p>
<p>If you wish to be even more careful about event based deadlocks, try to consider more reasons why the process could fail.  For example, as I&#8217;m waiting for my friend I hear the tsunami warning siren.  The restaurant is by the beach, so I don&#8217;t think my friend will meet me.  In fact, its time I consider evacuating to higher ground.  In this case I would add a signal event to my process that listens to all &#8220;broadcasts&#8221; that might be interesting to me.</p>
<div id="attachment_226" class="wp-caption aligncenter" style="width: 896px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/ebg-full-example.png"><img class="size-full wp-image-226 " title="Full Example" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/ebg-full-example.png" alt="Full example of the event based gateway in action, using multiple events to avoid process deadlock." width="886" height="441" /></a><p class="wp-caption-text">Full example of the event based gateway in action, using multiple events to avoid process deadlock.</p></div>
<h3>A more realistic example</h3>
<p>Now let&#8217;s apply the same pattern to a common business problem. Suppose that I send an order to my supplier.  Do I wait indefinitely, assuming the supplier received the message?  After all, they have been fairly reliable in the past, right?  So what happens when I don&#8217;t receive the order?  Should I continue waiting months later when I have no products to sell because I have no supplies to make anything?   Maybe you assumed that someone else would realize this problem and call the manufacturer.  But when will they make the call?  Most likely it will be after supplies are low and we are at risk of shutting down manufacturing.  In other words, it might be too late before we spot the problem.  So instead, we model our process to include for provisions such as a timer that monitors when the product is received.  Also we allow for the vendor to report an error in processing the order, which should prompt someone in my organization to reorder.  And while we are at it, why not ask the supplier to broadcast system outage messages so that we know when to resubmit orders that might have been lost in transmission.</p>
<div id="attachment_228" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/ebg-multiple-events.png"><img class="size-full wp-image-228" title="Multiple Event Types on One Gateway" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/09/ebg-multiple-events.png" alt="Ordering supplies with an error handling event and a timeout event" width="500" height="258" /></a><p class="wp-caption-text">Ordering supplies with an error handling event and a timeout event</p></div>
<p>Hopefully this clarifies the usage of the event-based exclusive gateway.  I hope you can now see that although the event based gateway uses a pattern difficult to understand, it&#8217;s well worth while learning. It&#8217;s one of the most powerful shapes in BPMN.  Processes are not linear and don&#8217;t always function like clockwork.  Modeling in the flowchart style with swimlanes and everything being perfectly sequential doesn&#8217;t depict the true nature of business processes.  In the real world, processes are event based, and 65% of the time things don&#8217;t follow the optimal plan.   By using an event based process model you are more likely to uncover the subtle details and pockets of inefficiency.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickgeneva.com/wp/posts/demystifying-the-event-driven-gateway/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The ins and outs of process loops</title>
		<link>http://www.rickgeneva.com/wp/posts/the-ins-and-outs-of-process-loops/</link>
		<comments>http://www.rickgeneva.com/wp/posts/the-ins-and-outs-of-process-loops/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 05:41:06 +0000</pubDate>
		<dc:creator>Rick Geneva</dc:creator>
				<category><![CDATA[BPMN]]></category>
		<category><![CDATA[Process Modeling]]></category>

		<guid isPermaLink="false">http://www.rickgeneva.com/wp/?p=107</guid>
		<description><![CDATA[There are many ways to accomplish loops in the BPMN specification.   Flowcharts only offer one way to cause a loop back, but BPMN offers 4 explicit ways, and potentially dozens of ways to create a loop implicitly.  Often my students ask the question &#8220;so, aren&#8217;t they all the same thing?&#8221;   [...]]]></description>
			<content:encoded><![CDATA[<p>There are many ways to accomplish loops in the BPMN specification.   Flowcharts only offer one way to cause a loop back, but BPMN offers 4 explicit ways, and potentially dozens of ways to create a loop implicitly.  Often my students ask the question &#8220;so, aren&#8217;t they all the same thing?&#8221;     Technically, yes, and no.   Sorry to say it, but there is no right answer according to the specification.   This is up to you to figure out.   The specification does however offer many options that can be used to express certain situations.  But to a newcomer to BPMN,  the challenge is always which one should you use, when, and why.</p>
<p><span id="more-107"></span></p>
<p>The simple answer to which loop method to use is to express yourself.   The specification leaves room for subtle differences, that when combined with some experience in process modeling and some modeling style, BPMN can be very expressive.   In some cases there is definitely an incorrect choice for the process at hand, but somehow there never seems to be an absolutely correct one.   So here is my style guide on how to pick the best expression for activities that loop.</p>
<h2>Style 1: Upstream Loop-back Flow</h2>
<p>Example:</p>
<div id="attachment_127" class="wp-caption aligncenter" style="width: 382px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/upstreamflow11.gif"><img class="size-full wp-image-127" title="upstreamflow11" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/upstreamflow11.gif" alt="Upstream Looping Process Flow" width="372" height="117" /></a><p class="wp-caption-text">Upstream Looping Process Flow</p></div>
<p><strong><span style="text-decoration: underline;">Style expression:</span></strong> Use when you want to do something over again (redo), but not when you want to repeat activities and preserve the previous results.  If you want to preserve the previous results I would recommend using the looping subprocess instead.</p>
<div id="attachment_131" class="wp-caption aligncenter" style="width: 395px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/upstreamflowwithtimer.gif"><img class="size-full wp-image-131" title="upstreamFlowWithTimer" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/upstreamflowwithtimer.gif" alt="Upstream looping flow with timer" width="385" height="111" /></a><p class="wp-caption-text">Upstream looping flow with timer</p></div>
<p>Upstream flow is also very useful in high-level diagrams where you don&#8217;t wish to show all of the intricate details of process flow.  I&#8217;ve found that if you are using a high-level view, it&#8217;s best to stick with subprocess shapes rather than using tasks.   A task implies an atomic single activity where something is done.  The subprocess expresses that there are several steps to complete a task, which can include the points of communication (message events, signals, or anything else required to complete the activity).   I&#8217;m not saying that the subprocess is required here.  But it might be a better option because it&#8217;s more likely to accurately depict the true nature of the process.</p>
<p style="text-align: center;">
<div id="attachment_130" class="wp-caption aligncenter" style="width: 469px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/upstreamflowwithlanes.jpg"><img class="size-full wp-image-130" title="upstreamFlowWithLanes" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/upstreamflowwithlanes.jpg" alt="Upstream looping flow accross participant lanes" width="459" height="174" /></a><p class="wp-caption-text">Upstream looping flow across participant lanes</p></div>
<p><strong>Advantages:</strong></p>
<ul>
<li>Simple to model and most people with no BPMN training can easily understand it.</li>
<li>Great for showing high-level sequence flows across multiple participants (roles, systems, etc).</li>
<li>Easily shows the loopback condition as part of the gateway, without using annotations.</li>
<li>Allows you you to do a loop across multiple <a href="http://www.rickgeneva.com/wp/pages/58">swimlanes</a>, but be cautioned that this is not always a good idea (see my other post about <a href="http://www.rickgeneva.com/wp/pages/58">swimlanes</a>).</li>
</ul>
<p><strong>Disadvantages:</strong></p>
<ul>
<li> Doesn&#8217;t always capture the detail of a process flow (see my other post about <a href="http://www.rickgeneva.com/wp/pages/58">swimlanes</a>) and limits ability to show explicit message interaction between participants.</li>
<li>Not very easy to introduce exception conditions into the flow without adding a lot of extra shapes.</li>
<li>Implicit way of showing multiple iterations of an activity might lead to inaccurate interpretation.</li>
</ul>
<h2>Style 2: Looping subprocess</h2>
<div id="attachment_117" class="wp-caption aligncenter" style="width: 274px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/loopingsubprocess.gif"><img class="size-full wp-image-117" title="Looping Subprocess" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/loopingsubprocess.gif" alt="Looping Subprocess" width="264" height="88" /></a><p class="wp-caption-text">Looping Subprocess</p></div>
<p><span style="text-decoration: underline;"><strong>Style Expression:</strong></span> Use when you need to repeat one or more activities while preserving the data/results of the activities for future reference.  Also very useful when you need to deal with multiple exceptional conditions that might interrupt the loop iterations.</p>
<p>In the following example I am using the simple &#8220;check mail&#8221; process.  Every hour I check the mail, and if there is something in the mailbox I reply to the mail.  When I&#8217;m done replying to the new mail the cycle repeats.   Immediately after replying to mail I go back to check for new mail.   This starts to optimize the process because if new mail arrives while I&#8217;m replying to other mail, as soon as I&#8217;m finished replying there is no wait state.</p>
<div id="attachment_135" class="wp-caption aligncenter" style="width: 263px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/loopingsubprocesswithtimer.jpg"><img class="size-full wp-image-135" title="loopingsubprocesswithtimer" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/loopingsubprocesswithtimer.jpg" alt="Looping Subprocess with Timer" width="253" height="121" /></a><p class="wp-caption-text">Looping Subprocess with Timer</p></div>
<p>Dealing with exceptional conditions in a subprocess is much easier to do than with straight-through linear flow.  This is because you can place one or more exception handlers on the subprocess border.  For example, I can catch an error condition if it occurs, but I&#8217;m not really expecting this to happen all the time.  Or I can cause an alternate flow to occur when the activities don&#8217;t complete within a specified time period.  Or, I can watch for all of the above conditions and deal with them accordingly.   In contrast, the linear flowchart style diagram gets extremely complicated and difficult to read without the capability to &#8220;dynamically&#8221; create exception flow.</p>
<p>In a linear flowchart style, many conditional gateways or flows are used to check for current state.  In the BPMN style, intermediate handler events are used on the subprocess border instead.  In the following diagram I add a few layers that handle the exceptional conditions that could potentially occur.  I&#8217;m not going to explicitly check for the errors all the time. It&#8217;s more of a passive monitoring for things that might occur.</p>
<p style="text-align: center;">
<div id="attachment_133" class="wp-caption aligncenter" style="width: 341px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/complexloopingsubprocess.jpg"><img class="size-full wp-image-133" title="complexloopingsubprocess" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/complexloopingsubprocess.jpg" alt="Complex Nested Looping Subprocess with Error Handling" width="331" height="227" /></a><p class="wp-caption-text">Complex Nested Looping Subprocess with Error Handling</p></div>
<p>First I can receive the intermediate message labeled &#8220;cancel&#8221;.   This is here because instead of watching for mail all day someone might give me a more meaningful way to spend my time.   So maybe my boss sends me a message to go out for coffee or something.  When this occurs I terminate this process and go do something else.</p>
<p>Next there is an intermediate event that catches any errors that might occur in my process.  This error handler will catch anything that might occur on the check mail or reply to mail.  Note that this is not necessarily a technical step geared toward the geek crowd.  This gives me a &#8220;catch all&#8221; way of dealing with exceptional conditions, regardless of what the condition is.  Most likely I&#8217;ll have to interrupt the normal pattern and do some improvising to get the process back on track.  For example, one day someone plays mailbox baseball.   For those of you who don&#8217;t know what this means, it&#8217;s when someone takes a baseball bat and smashed the box where I receive my mail.  So I can&#8217;t receive mail.  Sounds like an exceptional condition, right?  I&#8217;m not planning for this specific event to happen, but anything can happen.  So I don&#8217;t want to stop my process dead in its tracks just because I don&#8217;t have a way to deal with anything that might come up.  The error handler is most likely a generic manual step.</p>
<p>Note the outer looping subprocess.  This ensures that if an error condition occurs that I can easily jump back directly into a new instance of my inner loop, which is the main normal flow.</p>
<p>An finally, at 5 PM I&#8217;m going home, so I terminate the process.   Because I&#8217;m a &#8220;clock puncher&#8221; type of person (How I wish this were true instead of me writing this post past midnight for three days now) it doesn&#8217;t matter what I&#8217;m doing.  When the whistle blows at 5 PM (the timer event) I&#8217;m going home.  Forget about replying, forget about checking for new mail.</p>
<p>So that&#8217;s the process.   Now what would this same process look like if I didn&#8217;t have a subprocess and used upstream flow instead?  Here is the equivalent diagram without using subprocesses, or should I say as close as you can get to the equivalent behavior.</p>
<p style="text-align: center;">
<div id="attachment_138" class="wp-caption aligncenter" style="width: 370px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/complexupstreamflow.jpg"><img class="size-full wp-image-138" title="complexupstreamflow" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/complexupstreamflow.jpg" alt="Complex Upstream Flow with Error Handling" width="360" height="273" /></a><p class="wp-caption-text">Complex Upstream Flow with Error Handling</p></div>
<p>To achieve 100% of the same process flow behavior using upstream flow it&#8217;s incredibly difficult. In fact, this small example took several tries for me to get it right, and I&#8217;m still not totally convinced its the same.  Feel free to comment and tell me how I did.   The point is, when you start handling errors (as you should be doing in all processes anyway) in the upstream flow style, the diagram gets very complex to create, and even more difficult to read.  Now just imagine this upstream flow example using swimlanes across multiple participants.  You will probably end up with lines going all over the place and it&#8217;s a real eye sore to look at.</p>
<p>Just to put some context around this, all we are doing here is checking for mail and it&#8217;s already getting hard to read.  Imagine if we were to model a real process!   So for detailed process design including proper exception handling, the upstream flow doesn&#8217;t work so well.</p>
<p><strong>Looping Subprocess Advantages:</strong></p>
<ul>
<li>Explicit loop control</li>
<li>Focus on a single process participant, which frequently yields a more accurate/detailed process diagram (see my other posting about <a href="http://www.rickgeneva.com/wp/pages/58">swimlanes</a>).</li>
<li>Ability to easily deal with multiple exceptional conditions without complicating the normal flow.</li>
</ul>
<p><strong>Looping Subprocess Disadvantages:</strong></p>
<ul>
<li>Slightly more difficult to understand for people that have not been trained on BPMN syntax.  Note however that this can easily be explained to the BPMN newcomer in about two minutes, or you can just as easily add a text annotation to explain the loop.</li>
<li>No way to determine what the loop condition is without annoations.</li>
</ul>
<h2>Style 3: Multiple Instance</h2>
<div id="attachment_118" class="wp-caption aligncenter" style="width: 284px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multiinstancesubprocess.gif"><img class="size-full wp-image-118" title="multiinstancesubprocess" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multiinstancesubprocess.gif" alt="Multiple Instance Subprocess" width="274" height="95" /></a><p class="wp-caption-text">Multiple Instance Subprocess</p></div>
<p>The multiple instance has two use cases.  This sometimes happens in the BPMN specification.  It&#8217;s not always clear in the diagram which use case is actually occuring.  I suspect this will be cleared up in the 2.0 or later specification (or at least I hope so).  Because of this current issue in the BPMN specification I recommend using a text annotation externally explain the sequence behavior.    Note that the external text annotation is also a good practice for the looping subprocess as well.</p>
<p><strong>Use case 1:   Serial Execution</strong></p>
<p>Use when you want to repeat some activities for a fixed number of times. There is no condition on breaking the loop.  For example, &#8220;do this five times&#8221;.    Each instance of the activity is performed in an iteration, meaning that each after the first iteration the subsequent iterations will not occur until the previous has completed.   Essentially this is the same as the looping subprocess, except that there is no need to specify a condition that will cause the loop to break it&#8217;s loop.  Only a number of iterations is provided.</p>
<div id="attachment_147" class="wp-caption aligncenter" style="width: 149px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multipleinstanceserialmode.jpg"><img class="size-full wp-image-147" title="Multi Instance Serial Mode" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multipleinstanceserialmode.jpg" alt="Multiple Instance Serial Execution Mode" width="139" height="120" /></a><p class="wp-caption-text">Multiple Instance Serial Execution Mode</p></div>
<p>The same diagram can be expressed using only task shapes, but requires many more shapes to accomplish the same expression.</p>
<div id="attachment_146" class="wp-caption aligncenter" style="width: 443px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multinstanceserialtaskequiv.jpg"><img class="size-full wp-image-146" title="Multi Instance Serial Task Equivelent" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multinstanceserialtaskequiv.jpg" alt="Multi Instance Serial Task Equivelent" width="433" height="49" /></a><p class="wp-caption-text">Multi Instance Serial Task Equivalent</p></div>
<p><span style="text-decoration: underline;"><strong>Style expression for Serial Execution</strong></span>:  Use in a &#8220;for each&#8221; loop when the number of  iterations is known prior to execution.  Not applicable to a &#8220;do while&#8221; or &#8220;do until&#8221;.    Don&#8217;t use in any loop where a condition or normal flow might exist that would cause the loop to break before the number of iterations is complete.   The usage of exception handlers is acceptable (and most often encouraged).</p>
<p>An important consideration for using this expression is whether or not you know in advance the number of iterations you will perform (If I am repeating myself here it must be because this is important).  Otherwise you should use the looping subprocess instead.   Conditions such as &#8220;do until the color is sufficient&#8221;  or &#8220;keep checking the temperature every 5 minutes until the inner temperature is 200 degrees&#8221; is not a candidate for a multiple instance loop.   Instead, a good example for a multiple instance loop is &#8220;Get 100 people to sign the petition&#8221;.   Another example could be &#8220;take exactly 10 steps forward before turning left&#8221; if each step is an iteration of the looping activity.   But then again, if you want to get very technical here one could argue that each step has a dependency on the other leg (left leg/right leg) to perform its duty, so this would disqualify the multiple instance for each step.  Instead I could either hop 10 times or take 5 pairs of steps forward.</p>
<p><strong>Use case 2:  Parallel Execution</strong></p>
<p>The basic use case is the similar to the serial execution use case, except that instead of iterations, X number of instances will instantly be launched, all running in parallel.   Like the serial execution, there is no need to break the loop.  In fact, it&#8217;s not really a loop at all.   You are simply showing a different form of parallel flow in which you are launching X number of identical activities simultaneously.</p>
<div id="attachment_145" class="wp-caption aligncenter" style="width: 145px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multipleinstancemessages.jpg"><img class="size-full wp-image-145" title="Multiple Instance Parallel Mode" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multipleinstancemessages.jpg" alt="Multiple Instance Parallel Mode" width="135" height="123" /></a><p class="wp-caption-text">Multiple Instance Parallel Mode</p></div>
<p>The same diagram using parallel gateway looks like this</p>
<p style="text-align: center;">
<div id="attachment_144" class="wp-caption aligncenter" style="width: 229px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multilooppargatewayequiv.jpg"><img class="size-full wp-image-144" title="Multiple instance parallel gateway equivelent" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multilooppargatewayequiv.jpg" alt="Multiple instance parallel gateway equivelent" width="219" height="176" /></a><p class="wp-caption-text">Multiple instance parallel gateway equivalent</p></div>
<p><span style="text-decoration: underline;"><strong>Style expression for parallel Execution</strong></span>:  Another way to word this notation is &#8220;do something X number of times, right now, and don&#8217;t wait for anyone else to complete&#8221;.  Use when you want to perform the same activity a fixed number of times, and each activity can be performed independent of the other with no dependencies of any other instances of the same activity to complete.   Never use the parallel execution in situations where one activity might depend on another completing.  Never use this expression when the activities in each instance might contain a different sub-sequence.</p>
<p>In the example above referring to &#8220;Get 100 people to sign the petition&#8221; we could apply the multiple instance.   However, there is a subtle difference that occurs.  We would have to get 100 people in action simultaneously.   So in the serial execution example we are likely a single person going door to door for signatures.   In the case of the parallel, it&#8217;s more likely that we blasted 100 emails out to people and we are awaiting 100 responses.   So it might not be possible to actually receive 100 positive responses out of 100 emails sent unless the response is unanimous.  Instead you might want to express that out of 1000 sent emails we want to count at least 100 positive responses, which causes a break of some sort.   Normally I would suggest that you use the looping subprocess for this example.   But in this case you have a unique problem that is very difficult to resolve with a normal loop; you have to correlate each response with the preceding request that is unique for each instance.</p>
<div id="attachment_143" class="wp-caption aligncenter" style="width: 376px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multiinstanceloopingsubequiv.jpg"><img class="size-full wp-image-143" title="Looping Subprocess Emulating Parallel Multi-instance" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/multiinstanceloopingsubequiv.jpg" alt="Looping Subprocess Emulating Parallel Multi-instance" width="366" height="198" /></a><p class="wp-caption-text">Looping Subprocess Emulating Parallel Multi-instance</p></div>
<p>It&#8217;s important to note that the serial execution and parallel execution appear identically in BPMN.    According to the specification the execution mode is determined by the &#8220;attributes&#8221;.   Now you see, this is what happens when a perfectly good modeling notation meddles in process automation and execution.  I mentioned earlier that I hope this will be fixed in an upcoming version of BPMN.  For example, vertical lines for parallel execution and horizontal lines for serial execution would have been nice.  But the specification simply stops short of offering a graphical solution and suggests that execution engines use the &#8220;attributes&#8221; to specify behavior.  This does nothing for creating a diagram.  So I ask the folks at OMG to please fix this so that people who want to just create a diagram can have an easy way of doing so without having to read &#8220;attributes&#8221;.   Now that I&#8217;ve vented my frustration on this subject, might I suggest for the rest of us to use a text annotation external to the subprocess to resolve the ambiguity (as in the &#8220;multiple instance parallel mode&#8221; example).</p>
<p><strong>Multiple Instance (parallel) &#8211; Advantages:</strong></p>
<ul>
<li>No need to specify a loop condition based on data.  You can clearly tell that the activities will occur a fixed number of times, and this number of times is known before the loop begins.</li>
<li>Has the ability to dynamically generate a bunch of parallel flows without having to draw all of them explicitly (parallel execution).</li>
</ul>
<p><strong>Multiple Instance (parallel) &#8211; Disadvantages:</strong></p>
<ul>
<li>You cannot tell if this is a parallel or serial execution without any sort of annotations externally.</li>
<li>You cannot tell exactly how many parallel instance or serial iterations are actually being performed.  Again, to resolve this problem you should use external annotations.</li>
<li>Hardest to understand, least documentation and examples in the BPMN 1.2 specification.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.rickgeneva.com/wp/posts/the-ins-and-outs-of-process-loops/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Swimlane, Lane, or Pool?  Learn to swim first.</title>
		<link>http://www.rickgeneva.com/wp/posts/swimlane-lane-or-pool-learn-to-swim-first/</link>
		<comments>http://www.rickgeneva.com/wp/posts/swimlane-lane-or-pool-learn-to-swim-first/#comments</comments>
		<pubDate>Wed, 08 Apr 2009 16:18:29 +0000</pubDate>
		<dc:creator>Rick Geneva</dc:creator>
				<category><![CDATA[BPMN]]></category>

		<guid isPermaLink="false">http://www.rickgeneva.com/wp/?p=58</guid>
		<description><![CDATA[Often I see process models that represent the same basic business concept but are modeled with completely different styles.   Technically the BPMN lane and pool shapes are both a swimlane.  But which one do I use, when, and more importantly &#8211; why?

UML Specification:
Swimlane:  a way to group activities performed by the [...]]]></description>
			<content:encoded><![CDATA[<p>Often I see process models that represent the same basic business concept but are modeled with completely different styles.   Technically the BPMN lane and pool shapes are both a swimlane.  But which one do I use, when, and more importantly &#8211; why?</p>
<p><span id="more-58"></span></p>
<h3>UML Specification:</h3>
<p><span style="text-decoration: underline;"><strong>Swimlane: </strong></span> a way to group activities performed by the same actor on an activity diagram or to group activities in a single thread.</p>
<p>The term swimlane appears for the first time in formal process modeling in the UML specification.  First there was the activity diagram.  Then there was a need to separate the activities of individual actors.   The swimlane was born.    So why are we using BPMN these days instead of UML?    Well the answer is quite complicated.  The UML specificaiton is full of other types of diagrams including class diagrams, state diagrams, interaction diagrams, and more.    Most of the UML specification is very technical, therefore making it less than idea for most business uses.</p>
<p>Many people today believe that the term swimlane is part of BPMN.  In a way, this is partially true because the BPMN specification says that both a pool and a lane are techinically a swimlane.</p>
<h3>BPMN Specification :</h3>
<p>UML was created in 1996.  Remember 1996?  Internet&#8230; What&#8217;s that?   1998 &#8211;  Internet is pretty cool, and by 1999 my mother sent her first email.   I recall in 2001 I heard someone say the word &#8220;blog&#8221; for the first time.   In 2002 BPMN was born.  And now what we have the history lesson out of the way&#8230;</p>
<ul>
<li><span style="text-decoration: underline;"><strong>Pool: </strong></span> Defines activities designated for a single participant.    Pay special attention to the words <em>single participant</em>.</li>
<li><span style="text-decoration: underline;"><strong>Lane: </strong></span> &#8220;A further subdivision of a pool&#8221;.    Quoting from the <a href="http://www.omg.org/spec/BPMN/1.2/" target="_blank">BPMN 1.2 specification</a>: &#8220;Lanes are used to organize and categorize activities&#8221;.</li>
</ul>
<p>The BPMN specification says specifically that both pools and lanes are considered to be a swimlane.  So this is where some of the confusion comes from.  Technically it&#8217;s correct to call a BPMN pool or lane a swimlane, but the swimlane is not defined as part of the BPMN specification.</p>
<p>Here is an example of a UML style diagram using swimlanes:</p>
<p style="text-align: center;">
<div id="attachment_62" class="wp-caption aligncenter" style="width: 580px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/swimlanes001.jpg"><img class="size-medium wp-image-62" title="Swimlanes Example" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/swimlanes001.jpg" alt="UML Swimlane Style" width="570" height="212" /></a><p class="wp-caption-text">UML Swimlane Style</p></div>
<p>This is a small process where a manager wants to hire someone.   The manager submits a job requisition to human resources.  HR returns a list of candidates and the manager interviews them. This cycle continues until a suitable candidate has been found.   After a candidate has been found, accounting is notified to set up the payroll for the new employee.  On the first day of work the manager conducts the initial briefing and gives the new employee a tour of the facilities.</p>
<p>The example diagram used the BPMN shapes but is actually a UML style diagram in terms of swimlanes.  Often I see this style of diagram in BPM tools (not calling out any vendor specifically here).   This diagram is actually incorrect according to both the UML and BPMN specifications.  In UML the shapes and usage is slightly different than they are in BPMN.  In BPMN you cannot have a lane without it being inside of a pool.  I suppose one could argue that the entire diagram is the pool, in which case the only thing that is missing is the label for the pool.  So we would have to assume that the pool has something to do with people.</p>
<p>Now let&#8217;s take a look at the corrected version of the diagram with a BPMN pool correctly displaying the lanes.</p>
<p style="text-align: center;">
<div id="attachment_63" class="wp-caption aligncenter" style="width: 580px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/swimlanes002.jpg"><img class="size-full wp-image-63" title="BPMN Swimlanes" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/swimlanes002.jpg" alt="BPMN Pool with Lanes, single participant" width="570" height="212" /></a><p class="wp-caption-text">BPMN Pool with Lanes, single participant</p></div>
<p>In this example the pool is called People because that is the only logical assumption we can make regarding who the participants are.  In fact, if you take the specification literally, there is only one person performing all of the activities.   Remember that a pool is a container for activities associated to a <em>single participant</em>.   In this respect it is not possible to transition from one person to another within a pool.  Each additional participant requires another pool. The lane could be used to indicate that the activities are associated with a particular category of work.  For example, the subprocess for finding candidates is actually a performed by the same person that creates the job requisition, but the category of activity is human resources.   So I suppose we could say this participant role wears a lot of hats in their organization.</p>
<p>Often I see this style of diagram and I realize that the intent was to show that multiple people are involved in the process.  However, this is incorrect in BPMN.  If the intent is to show the multiple participants&#8217; activities, you must draw them in multiple pools.   But this creates another problem; I cannot draw a transition line (solid line) between pools.  I must use a message.  Why?  First we have to understand what transition means.</p>
<ul>
<li><span style="text-decoration: underline;"><strong>Transition:</strong></span> One activity from a participant has completed and another has begun.  Transitions are notated with a single solid line with an arrow head pointing in the direction of the flow (sequence flow line).   Sequence flow only occurs within the scope of a single participant.</li>
<li><span style="text-decoration: underline;"><strong>Interaction:</strong></span> A process participant wishes to involve other participants through messaging.  Interaction is a form of communication that involves the sending of a message.  Interactions are shown in BPMN with a single dashed line with an open arrow head indicating the direction of message flow.</li>
<li><span style="text-decoration: underline;"><strong>Message:</strong></span> A means to communication between process participants.   A message has a well defined recipient and can have a message body containing process data or other data artifacts such as document attachments.</li>
</ul>
<p>You can see from the definition that a transition is not allowed between participants.  This is because it&#8217;s simply not possible.  In any process, no matter if it&#8217;s human centric or system centric, any interaction between participants requires some sort of communication.   Messaging is the the means in BPMN to have direct communication between participants.  It is also possible to coordinate activities with things like signaling, but this is not actually an interaction.  Signals (see my <a href="http://www.rickgeneva.com/wp/pages/32" target="_blank">other post</a> for details on signals) are used to coordinate events, but are not used to communicate.</p>
<p>So if you wanted to create a diagram that showed correct BPMN formatting, it would look like this:</p>
<div id="attachment_64" class="wp-caption aligncenter" style="width: 580px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/swimlanes003.jpg"><img class="size-full wp-image-64" title="BPMN Diagram with Pools" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/swimlanes003.jpg" alt="BPMN Diagram with Pools and communication between participants" width="570" height="190" /></a><p class="wp-caption-text">BPMN Diagram with Pools and communication between participants</p></div>
<p>The pools for the Accounting and Human Resources participants are collapsed for simplicity.  This is a common practice when you wish to show in your diagram the focus on one single participant, but you still wish to show the points in which this participant interacts with others.  Most likely I don&#8217;t care to show the details of the accounting department because it&#8217;s outside my juristiction, and I have no visibility on what they actually do.  Also, it&#8217;s better to let accounting manage their own processes.</p>
<p>The other concept of style that I&#8217;m including in this example is the looping subprocess instead of the &#8220;upstream flow&#8221; lines.  Upstream flow is when you sequence an activity that has already occurred.  This is almost like going back in time.   The problem with going back in time is that I&#8217;m not actually going back in time here. Something is different.  I have a new iteration of an activity, but I&#8217;m not redoing the exact same instance.   In this example I am interviewing a new job candidate.   I&#8217;m not interviewing the same job candidate again.  So in some cases the upstream flow is acceptable, but only if you want to redo something.  Otherwise the proper BPMN notation is to use a looping subprocess, which shows that a new iteration is required, and probably a new set of data input is also required.    With this in mind you can see that it is impossible to have upstream flow between participants.  Any time messaging is involved I highly recommend using a looping subprocess instead of upstream flow.  Otherwise your process participants could be out of sync and you might never know it.  This is especially important if you intend to make this process automated and executable.</p>
<p>Another important concept to note from this example is that I actually created a parallel flow without actually using a parallel gateway.  This done through messaging.  The first interaction with the Human Resources participant creates a blocking asynchronous message.  This means that until I receive a response from HR I cannot do anything else in respect to this process.  A message must be recieve before I can continue at the step &#8220;Receive HR Response&#8221;.   However the second point of interaction is quite different.  When I interact with the Accounting participant I don&#8217;t wait for a response.  I am not showing in this diagram how long it takes for accounting to set up a payroll account. In fact, it might take longer than what it does for the new hire to start working.  In the first two examples above the process showed that I actually cannot have the person start work until payroll is set up.   This behavior occurs when two processes intersect.</p>
<p>Process intersection is a concept that is hard to understand so it deserves some attention here.  In this small process example we have encountered a problem in just a few small activities.  Imagine how complicated this would get if we actually draw the entire set of activies for the other participants.   There is a way to avoid this overhead and still accurately depict your process diagram.  But you must understand process intersection to determine where to stop drawing one diagram and start on another.</p>
<p>The answer to this problem is that we have two different processes.  One is the process of hiring someone.  Another process is the payroll setup, in which the hiring manager is the requestor, but the hirning manager is in no way in control of this process.  Therefore when it comes to syncrhonizing activity between the manager and accounting it gets very difficult to draw from the manager perspective.   It&#8217;s better to attack this problem from the accounting participant&#8217;s perspective, and show the manager as a secondary participant.   You can additionally show escalations and notifications from the accounting perspective back to the manager, which resolves the problem of accountability for getting the job done.  But what does this have to do with hiring someone?   This is why I say it&#8217;s a process intersection, not an explicit interaction within the same process.   Attempting to mix the two very different business objectives in the same diagram will lead to a very complicated flow that takes a BPMN expert to understand.</p>
<p>Now back to the 3rd diagram example.  Because I&#8217;ve seperated out what accounting does by simply showing my interaction point, I can easily go forth with the current process and not have to worry about whether or not accounting has done their job or not.    We are trying to show the steps a manager takes to hire someone.  If accounting doesn&#8217;t do their job, the other diagram from the accounting perspective should notifiy the submitter (the manager) that the work has not been done by the due date.  But this is out of scope here.  Let&#8217;s assume it&#8217;s been done.   Next all we have to do is wait until the day the new hire is supposed to be at work and conduct the first day activities.   Plain, simple, understandable, and and from the perspective of the primary participant &#8211; the hiring manager.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickgeneva.com/wp/posts/swimlane-lane-or-pool-learn-to-swim-first/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Four Use Cases for the BPMN Signal Event</title>
		<link>http://www.rickgeneva.com/wp/posts/four-use-cases-for-the-bpmn-signal-event/</link>
		<comments>http://www.rickgeneva.com/wp/posts/four-use-cases-for-the-bpmn-signal-event/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 18:03:32 +0000</pubDate>
		<dc:creator>Rick Geneva</dc:creator>
				<category><![CDATA[BPMN]]></category>

		<guid isPermaLink="false">http://www.rickgeneva.com/wp/?p=32</guid>
		<description><![CDATA[Of the many BPMN shapes, I seem to get the most questions about the BPMN signal event.    There seems to be 3 use cases that are the most common.   But first let&#8217;s take a look at what the OMG BPMN 1.2 specification says about signal event:

Signal Event:


Used for sending and [...]]]></description>
			<content:encoded><![CDATA[<p>Of the many BPMN shapes, I seem to get the most questions about the BPMN signal event.    There seems to be 3 use cases that are the most common.   But first let&#8217;s take a look at what the OMG BPMN 1.2 specification says about signal event:</p>
<p style="padding-left: 30px;"><span id="more-32"></span></p>
<p style="padding-left: 30px;">Signal Event:</p>
<blockquote>
<ul style="padding-left: 30px;">
<li>Used for sending and receiving  signals</li>
<li>A signal is a generic, simple form of communication
<ul>
<li>Within pools (same participant)</li>
<li>Across pools (different participants)</li>
<li>Across Diagrams</li>
</ul>
</li>
<li>Has no specific recipient, meaning it could be received by any participant that is listening.   (note that a participant could be a person, a system, or another process).</li>
<li>The signal has a name</li>
<li>Has attributes that further describe the signal</li>
<li>Does not have a message body</li>
</ul>
</blockquote>
<h3 style="text-align: left;">Use case 1:  Signal an unknown participant</h3>
<p>Perhaps the most useful feature of the signal event is signaling an unknown participant.   Often when I am in a store I hear an announcement &#8220;There is a car in the parking lot with its lights on&#8221;.  Or sometimes I get an email asking &#8220;Who is working on the xxxx account?&#8221;.    These are requests to get someone&#8217;s attention, but we don&#8217;t know specifically who the person it.</p>
<p>In the shopping mall example, we have a car with the lights on.  The participants are the store(s) and the shoppers.   We don&#8217;t know who&#8217;s car it is, so the announcement describes the car.   So to model this in swimlanes, you would have these two participants.   There are however a some problems with the swimlane appoach.  First, you don&#8217;t know <em>which</em> of the shoppers the car belongs to.    You must announce to every shopper.   Second, you don&#8217;t even know if this is in fact a shopper that owns the car.   The car could be owned by an employee, or it could be a shopper in another store.   So the actual participant in this case is anyone that might potentially park a car in the store parking lot (potential car parkers).</p>
<dl id="attachment_41" class="wp-caption alignnone" style="width: 678px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-41" title="Signal Event example 1" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/signal_event_0014.jpg" alt="An announcement for a car in the parking lot with its lights on" width="668" height="280" /></dt>
<dd class="wp-caption-dd">An announcement for a car in the parking lot with its lights on</dd>
</dl>
<p>The signal event is also limited by the attributes &#8220;Black&#8221;, &#8220;BMW&#8221;, &#8220;Plate Number x12345&#8243;.   So if I don&#8217;t have a black car I immediately ignore the rest of the message.  Or if I have a black car but it&#8217;s not a BMW I can ignore this message.  But if you have a black BMW and you don&#8217;t know what your plate number is, I&#8217;m assuming that you probably have some kind of subprocess for this.  The point is, it is the responsibility of the potential signal receiver to identify its self and act accrdingly.  Nobody is going to make you go turn off your lights.  From the perspective of the store, they have fulfilled their obligation by making the announcement.</p>
<p>Note the usage of the group artifact shape (dash-dot-dash box around the signal events).  This is used solely for style purposes and is not required according to the BPMN specification.  Personally I have found it to be helpful when reading diagrams, similar to how punctuation makes it easier to read text.   Case in point, if you notice the example below, it does not have the group artifiact shape around the signals.  Your eyes must wander the diagram to find the matching signal receiver.</p>
<p>In the email example where someone is asking who is working on a particular account, again the signal is intended for anyone who might respond.   We have potentially an account manager participant, or maybe it&#8217;s a customer service participant who gets a call from a customer but doesn&#8217;t know who the account manger is.   In this case there is a message event (the email) but not necessarily.  If the address is sent to a disribution list such as &#8220;all-account-managers&#8221; then this is more like a signal event than a message event.   Yes, it is in fact an email message.  It might even have a body attached.    But who really reads these broadcast emails anyway?   If you are like me you get 200 emails a day (on a slow day).  I read the subject line and if it&#8217;s not interesting it goes straight in the trash.   If someone is not smart enough to put the account number in the subject line which makes me actually read the message it&#8217;s not as efficient.   So in the following example diagram we cover both cases, where the subject contains the signal attributes and the other case where I have to actually read the message.</p>
<div id="attachment_44" class="wp-caption alignnone" style="width: 638px"><img class="size-full wp-image-44" title="Signal Event Example 2" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/signal_event_002.jpg" alt="Signal sent to find out who is responsible for an account" width="628" height="430" /><p class="wp-caption-text">Signal sent to find out who is responsible for an account</p></div>
<p>In theory you could use either a message event or a signal event for this example.  The differenciation in this case is the fact that the sender participant might receive a response, but might not.  The message body is probably empty in this case and the subject line might read &#8220;Who owns account number A12345&#8243;.    If this isn&#8217;t my account I&#8217;ll delete the email it without reading it.   Othewise I might want to do something before the customer becomes upset with me.     The signal event simplifies this diagram because if I were to use a message event instead, I would also need several shapes to &#8220;filter&#8221; the message data to determine if it&#8217;s mine or not.    Hence, the &#8220;is it for me?&#8221; gateway, which covers the case where someone didn&#8217;t bother to but the account number in the subject line and forced me to read the message.   But if I know for a fact that all signals of this type will have the account number in the subject line, this is a true signal event and I don&#8217;t needt o evaluate if this is for me or not.  This is because a signal event has an implicit filtering built-in.   The inteneded process participant(s) must know their responsibility for receiving the message.</p>
<p>For persons not familiar with the notation, I chose to use an event driven gateway (the pentagon symbol insde the diamond) with two potential solutions to the problem of who owns the acocunt.  In one case, someone will respond within a reasonable amount of time.  In the other case, after a period of time has elapsed, I&#8217;m not going to wait any longer and take care of the custmomer myself.</p>
<h3>Use case 2: Subscription</h3>
<p>One good example I can think of for subscription is Twitter <a href="http://www.twitter.com" target="_blank">http://www.twitter.com </a>.   Email distribution lists are on the border line between what is a message and what is a signal.   To qualify a form of communication to be a signal, it must be simple.   Emails can contain large amounts of text, so they are not simple.  Twitter is a site that allows you to broadcast some text (up to 140 characters maximum) to the world.    Being that the messages are limited in size, they must be simple.  To receive &#8220;tweets&#8221; (the broadcasts) on this site, you must subscribe to it.   With no subscriptions, the &#8220;tweet&#8221; goes nowhere.    Often the &#8220;tweet&#8221; goes out to everyone even though the message might be intended for just a few people.  So again, the participant(s) must identify themselves and determine if the information is useful and relavant to their current process instances.    In contrast, if I were to send you an email instead of broadcasting a tweet, this would indicate that I want specifically you to read it.</p>
<p>Another example of subscription is a stock symbol monitor.  Stock prices are streamed over the internet.  You can subscribe to specific events.  For example I want to know ABC corp&#8217;s price.  If I want to start receiving stock quotes, I simple &#8220;turn on&#8221; that stock symbol and the events will continue to stream until I turn it off.   Whenever the stock market is open, the stock streamer simply sends the quotes, and doesn&#8217;t care if anyone is receiving them or not.  Every stock symbol that has a price change will cause an signal event.</p>
<blockquote>
<p style="padding-left: 30px;"><span style="text-decoration: underline;">Signal event name:</span> Stock Quote</p>
<p style="padding-left: 30px;"><span style="text-decoration: underline;">Attributes:</span> Up or Down, Price</p>
<p style="padding-left: 30px;">
</blockquote>
<h3>Use case 3:  Synchronization</h3>
<p>In a large process with many participants, some processes require that some activities run in parallel, but must also be synchronized.  For example, a procurement process where someone asks for some money but simultaneously starts to seek out a vendor.  The vendor can be selected but the order cannot be placed until the funds have been acquired and transferred into the appropriate account.  Let&#8217;s say that the vendor selection is handled by a special group of people.   Being that it&#8217;s a group of people the originator might not know who exactly is working with the vendor(s).  The order will not be processed until the signal to proceed has been sent.   I might want to know about the status of the process as it progresses, but I don&#8217;t really need to know the full details.</p>
<p>I chose to use a signal event in this example for one specific reason: There are persons involved that were not introduced and potentially have no knowledge of each other.  For example, the funds manager processes the request to transfer the money.  Because the order manager is interested in this process instance, they can now proceed with the order placement.  There is nothing in this process that says that the funds manager and the order manager are specifically aware of each other.  They are in different departments and potentially these are different processes entirely. The only thing tying the process together is a common communication channel of some kind that has the ability to broadcast messages.</p>
<div id="attachment_47" class="wp-caption alignnone" style="width: 310px"><a href="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/signal_event_003.jpg"><img class="size-medium wp-image-47" title="signal_event_003" src="http://www.rickgeneva.com/wp/wp-content/uploads/2009/04/signal_event_003-300x189.jpg" alt="Synchronization accross multiple participants (click to enlarge)" width="300" height="189" /></a><p class="wp-caption-text">Synchronization accross multiple participants</p></div>
<p>In this example the loading dock receives a package.   For the sake of argument, let&#8217;s say that the loading dock maintains a simple website that shows a tracking number and a date when it was received.   If the Originator participant does not read this website regularly (the subscribe) then the package will remain in the receiving department indefinitely.    It is in the interest of the originator participant to regularly monitor the status page to receive timely updates.   Eventually the loading dock will delete the old messages.    So if I don&#8217;t actively monitor the status page, I might not ever know the package was received.</p>
<h3>Use case 4: Interruption</h3>
<p>Interruption involves stopping multiple participants from performing their current activities, most likely because a major event has occurred that requires the process flow to change significantly.   A simple example of this is when a customer is requesting a home mortgage loan.  Mortgages are a complex process that requires many items on on checklist to be completed by multiple participants.   Let&#8217;s say that the customer changes their mind and decides that now is not a good time to buy a home.  Suddenly we have 10 people doing things for a process instance that no longer exists.   We don&#8217;t want anyone to continue working on this process instance because it would be a waste of time.  So a signal is sent, which would cause all interested participants to stop working on this loan.</p>
<blockquote>
<p style="padding-left: 30px;"><span style="text-decoration: underline;">Signal Event Name:</span> Stop Processing</p>
<p style="padding-left: 30px;"><span style="text-decoration: underline;">Attributes:</span> Loan Number, Reason</p>
</blockquote>
<p>Hopefully this post will help reveal the difference between a signal and a message.</p>
<p>Questions?  Feel free to contact me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickgeneva.com/wp/posts/four-use-cases-for-the-bpmn-signal-event/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Workflow Application?  Or is it a process?</title>
		<link>http://www.rickgeneva.com/wp/posts/workflow-application-or-is-it-a-process/</link>
		<comments>http://www.rickgeneva.com/wp/posts/workflow-application-or-is-it-a-process/#comments</comments>
		<pubDate>Wed, 13 Aug 2008 06:13:18 +0000</pubDate>
		<dc:creator>Rick Geneva</dc:creator>
				<category><![CDATA[BPMN]]></category>
		<category><![CDATA[Process Modeling]]></category>
		<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://www.rickgeneva.com/wp/?p=12</guid>
		<description><![CDATA[Often I hear from people that are looking to implement a new &#8220;workflow application&#8221; in their organization.   This always gives me a reminder that we (the IT community) have not yet broken through that boundary yet to where everyone understands what is a process and what is an application.    So [...]]]></description>
			<content:encoded><![CDATA[<p>Often I hear from people that are looking to implement a new &#8220;workflow application&#8221; in their organization.   This always gives me a reminder that we (the IT community) have not yet broken through that boundary yet to where everyone understands what is a process and what is an application.    <span id="more-12"></span>So to quickly clarify things, here&#8217;s my quick generic definitions to get everyone up to speed.</p>
<p><span style="text-decoration: underline;"><em>Application:</em></span> Something you install on your hard drive that was designed to help you be more productive.  Usually it&#8217;s some kind of tool such as a word processor or spreadsheet.   Applications can also be online through a web browser, but this is just a difference of how it&#8217;s distributed and viewed.   Usually an application creates data and stores it somewhere.  Sharing data requires another application.</p>
<p><span style="text-decoration: underline;"><em>Enterprise Software:</em></span> Something that took a lot of time and money to develop, for a specific purpose, usually in the form of records management.   CRM, financial software, and inventory management are all classic examples of this type of software.   Most often this type of application is developed as an online system viewed in a web browser.   Many users are involved in this type of system.  Data sharing and routing is a common feature.</p>
<p><em><span style="text-decoration: underline;">Workflow:</span></em> Steps that are required to complete a series of tasks in order to achieve a goal.  Often multiple people are involved who collaborate on a data artifact.   A good example is sending out a meeting request via Microsoft Outlook or Lotus Notes.  This is an example of simple workflow that doesn&#8217;t need elaborate rules  or custom configuration.  It&#8217;s generic and can be applied to any business situation.</p>
<p><em>Note:</em> Workflow methodology began in the 1920&#8217;s, and yet many organizations still use it to define their software.  Interesting.</p>
<p><span style="text-decoration: underline;"><em>Business Objective:</em></span> The reason why you wanted the software in the first place.  You know, that thing that keeps making you change your requirements document all the time.</p>
<p><em><span style="text-decoration: underline;">Business Rules:</span></em> Policy and procedure that is both common practice for your industry and unique to my organization.  Ensures consistency across an entire organization.</p>
<p><em><span style="text-decoration: underline;">Business Process:</span></em> A combination of all of the above.   In our <a title="BPMN book" href="http://www.amazon.com/Microguide-Process-Modeling-BPMN/dp/1419693107/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1218603047&amp;sr=8-1" target="_blank">BPMN book</a> Tom D. and I define the business process as:</p>
<ul>
<li>&#8220;A business process is a flow of decision-coordinated activities, conducted by participants and acting on data, information, and knowledge that reach a goal&#8221;</li>
</ul>
<p>So if I have a business process system that is a combination of an application, enterprise software, workflow, my business rules, and ever-changing busines objectives, it looks something like this:</p>
<ol>
<li>A window to the data.  This can be online or installed on my hard drive.</li>
<li>Data will come in and out of my view.</li>
<li>Other people will log into the same system.</li>
<li>I will be alerted when there is something new for me to do, or when something interesting is happening that I should look at.</li>
<li>The system will handle the routing of my data for me, without the need for me to figure out how to send it, or where to send it to.</li>
<li>Much of my decision is automated through well-established business rules.</li>
<li>The system is capable of executing workflows specific to my organization.</li>
<li>The system will can easily adapt to an ever changing business objective.</li>
</ol>
<p>The typical &#8220;workflow application&#8221; might be capable of achieving goals 1 through 5, and sometimes number 6.  But 7 and 8 are the most important points, and often the most overlooked.   Things that we cannot foresee are usually not included into our design.  Therefore, changes don&#8217;t exist until they exist.  This was fine 15 years ago when things didn&#8217;t change much, but today, changes need to occur much faster than ever before.</p>
<p>Usually, a workflow application is coded with certain rules and restrictions.   Being flexible enough to accommodate constant change is usually not in the design.   Some typical reasons for this inability to adapt include:</p>
<ul>
<li>Certain data flow rules and logic is usually created to be specific with an industry</li>
<li>The original design was based on an idealistic view of the organization without a shred of proof that it will actually work.</li>
<li>The system was configured to directly mirror the &#8220;as-is&#8221; workflow without considering the impact of introducing a new system into the ecosystem of the organization.</li>
<li>The exception workflow is usually never considered.  &#8220;Oh, that only happens every now and then, and we&#8217;ll just deal with that manually&#8221;.   These are famous last words of every doomed multi-million dollar workflow development project.</li>
</ul>
<p>I&#8217;m not suggesting that every system can account for every unforeseen event in the future.  This would be impossible because by definition, unforeseen means that we don&#8217;t know about it yet.   They key is in the ability to adapt to new requirements as they come.   To achieve this goal, try using the following guidelines:</p>
<h4>1. Don&#8217;t make any assumptions about what it should look like.</h4>
<p>Model the business process first, then visualize what will be needed to solve the problem later.   Often the mistake is make of creating a data model first, or mocking up some screen shots.   Once you have created something and it&#8217;s in front of your team, the team will follow your lead and finish what you created.  The problem is, most often the business process challenges were not solved before starting to build the foundation.  So what you end up with is retro-fitting business requirements into a system before it&#8217;s ever completed in the first place.</p>
<h4>2. Process models should be kept small enough to manage.</h4>
<p>The larger to process diagram, the more complex the system becomes.  Often the complexity is unnecessary.   Several smaller diagrams tend to keep the system implementers focused on specific objectives, rather than trying to solve the entire problem all at once.    Create many diagrams that cover the scope of one scenario or major use case.  Link these scenario diagrams together.</p>
<h4>3. Use a Service Oriented Architecture (SOA) approach</h4>
<p>SOA allows you to create smaller services that are more general purpose, and can be reused in multiple places.   Of course, the first time you invent a service there is the investment of creating it properly.  But once build properly, it becomes part of a library of lower-level functions that can be consumed by processes.   Chaining these SOA components together along with some existing applications and human workflow will get the job done nicely.</p>
<h4>4. Limit the scope of your User interface(s)</h4>
<p>User interaction is not always a simple form &#8211; Sometimes its a miniature application. These days it&#8217;s Ok to build a rich UI client application for your process.   Technologies such as AJAX made it acceptable.   But this does not mean build a big one.  This means that for the scope of an interaction, build it as big as it needs to be.  But when the scope of a single interaction is completed, the scope of the user interface is also done.   Create another user interface for the next interaction task, and reuse components from the previous ones.</p>
<h4>5. Don&#8217;t spend a lot of time shopping for your solution.</h4>
<p>Odds are that you are trying to create a system that fulfills a need unique to your organization.   This means that it probably does not exist out of the box.   Refer to rule #1 &#8211; model it out first.  Then you will know what you are looking for.   After this, you can make a more educated decision on what you can use from your existing systems, what you need to buy, and what you need to build.</p>
<p>Trust me &#8211; it&#8217;s all about the business process first.  All the other details usually fall into place very easily once you have the correct process model.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickgeneva.com/wp/posts/workflow-application-or-is-it-a-process/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Intalio releases a new BPMN 1.1 modeler</title>
		<link>http://www.rickgeneva.com/wp/posts/intalio-releases-a-new-bpmn-11-modeler/</link>
		<comments>http://www.rickgeneva.com/wp/posts/intalio-releases-a-new-bpmn-11-modeler/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 00:47:09 +0000</pubDate>
		<dc:creator>Rick Geneva</dc:creator>
				<category><![CDATA[BPMN]]></category>
		<category><![CDATA[Process Modeling]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.rickgeneva.com/wp/?p=11</guid>
		<description><![CDATA[The new release of the Intalio 5.2 process modeler includes the BPMN 1.1 notation.  This modeling tool is a free download, and runs on Windows, Mac, and Linux.
For those who have previously used Visio, there are a few things to learn about the tool.  First off, it&#8217;s a pure BPMN modeler, built for [...]]]></description>
			<content:encoded><![CDATA[<p>The new release of the <a title="Intalio" href="http://www.intalio.com" target="_blank">Intalio</a> 5.2 process modeler includes the BPMN 1.1 notation.  This modeling tool is a free download, and runs on Windows, Mac, and Linux.<span id="more-11"></span></p>
<p>For those who have previously used Visio, there are a few things to learn about the tool.  First off, it&#8217;s a pure BPMN modeler, built for this specific purpose only, unlike Visio that is a general purpose tool that allows you to use any kind of shapes.  At first there might be a small learning curve to find the various tools and widgets, but after some practice you might find it to be a much more efficient modeling tool.</p>
<p>I like to model processes at the speed of conversation. This means that I can capture requirements in the tool, as opposed to making notes and later interpreting into a diagram (often an inaccurate process).  Instead of causing my audience to wait while I play with the software trying to get it to do as I want, the diagram practically draws its self.</p>
<p>The most powerful BPMN modeling features include:</p>
<ul>
<li>The &#8220;change shape to..&#8221; function: Allows you to start out with a basic task shape and change it to any BPMN shape later.  In comparison, with Visio you must delete the shape and redraw it from the pallet.</li>
<li>Searching for shapes on the pallet is a thing of the past:  The various popup menus can be used instead. This is a feature for those that already know the shapes and want to access them quickly.</li>
<li>Automatic line routing: No need to carefully connect to a specific point on the edges of shapes.  Drag and drop lines quickly to the center of a shape and the line automatically connects to the correct spot (left to right BPMN style).</li>
<li>Insert space tool:  Hold down the space bar, click, and drag to the right or left.  This inserts whitespace in a pool so that you can easily insert shapes between others.</li>
<li>Pools automatically resize without overlapping:  If you move a shape in a pool to outside the boundary, the pool will automatically resize.   The resize will not cause an overlap with other pools.</li>
<li>Set to throwing/catching event types:  Instead of having to redraw a BPMN 1.1 event shape to throwing/catching (black/white filled), you can access this capability with a simple right click.</li>
<li>Alignment tool:  A blue line pops up when you are close to another shape, and shows when two shapes are aligned with each other.  Works both horizontally and vertically.   No need to &#8220;snap to grid&#8221; and deal with the annoyances of the grid size not matching the shape&#8217;s geometry.</li>
<li>No need to export to another tool to make it executable:  Intalio focuses on creating fully executable process models. The BPMN diagram is directly translated into BPEL code.  However, you don&#8217;t have to use the functionality.  Certain features can be turned off that makes it a pure modeling tool.  Later, when you are ready to take it to the next step, the diagrams can be converted into a software runtime.</li>
</ul>
<p>Of course, everyone has their preferences.  If you are happy with your modeling tool, more power to you.  But if you are looking for a cheap, efficient, powerful BPMN 1.1 modeling tool, check out <a title="Intalio" href="http://www.intalio.com" target="_blank">Intalio</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickgeneva.com/wp/posts/intalio-releases-a-new-bpmn-11-modeler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BPMN Book Released on Amazon</title>
		<link>http://www.rickgeneva.com/wp/posts/bpmn-book-released-on-amazon/</link>
		<comments>http://www.rickgeneva.com/wp/posts/bpmn-book-released-on-amazon/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 14:45:00 +0000</pubDate>
		<dc:creator>Rick Geneva</dc:creator>
				<category><![CDATA[BPMN]]></category>
		<category><![CDATA[Process Modeling]]></category>

		<guid isPermaLink="false">http://www.rickgeneva.com/wp/?p=9</guid>
		<description><![CDATA[I am proud to announce the release of The Microguide to Process Modeling in BPMN on Amazon.com on July 16, 2008.  Tom Debevoise and I have been working on this project since September, 2007.   You might wonder why this book is so short for such a complex topic.  We wanted to [...]]]></description>
			<content:encoded><![CDATA[<p>I am proud to announce the release of <em>The Microguide to Process Modeling in BPMN</em> <a title="on Amazon.com" href="http://www.amazon.com/Microguide-Process-Modeling-BPMN/dp/1419693107/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1216564397&amp;sr=8-1" target="_blank">on Amazon.com</a> on July 16, 2008.  Tom Debevoise and I have been working on this project since September, 2007.   You might wonder why this book is so short for such a complex topic.  We wanted to make the BPMN language accessible to everyone.</p>
<p><span id="more-9"></span></p>
<p>Part of making it accessible is editing the book so that it reads well.   Most of the content was complete by January 2008, but the editing took months to complete.  Many books on this topic get way too technical and read like an owners manual.   The microguide approach gives just the right amount of information, and doesn&#8217;t overload you with too many details.  The examples are clear and simple.  The writing is well edited.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickgeneva.com/wp/posts/bpmn-book-released-on-amazon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First book completed.  What&#8217;s next?</title>
		<link>http://www.rickgeneva.com/wp/posts/first-book-completed-whats-next/</link>
		<comments>http://www.rickgeneva.com/wp/posts/first-book-completed-whats-next/#comments</comments>
		<pubDate>Sun, 13 Jul 2008 05:21:10 +0000</pubDate>
		<dc:creator>Rick Geneva</dc:creator>
				<category><![CDATA[BPMN]]></category>
		<category><![CDATA[Process Modeling]]></category>

		<guid isPermaLink="false">http://www.rickgeneva.com/wp/?p=8</guid>
		<description><![CDATA[I&#8217;ve heard that most book projects never reach completion.   After the first book is completed, most people either stop at one, or continue writing all their lives.  As for myself, I&#8217;ve started working on book number 2.   I expect a release date sometime around January 2009.

The next project is going [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve heard that most book projects never reach completion.   After the first book is completed, most people either stop at one, or continue writing all their lives.  As for myself, I&#8217;ve started working on book number 2.   I expect a release date sometime around January 2009.</p>
<p><span id="more-8"></span></p>
<p>The next project is going to be a focus on process modeling patterns in BPMN.   This is not exactly a new concept.  I&#8217;ve seen a few other publications that touch on this topic, but I&#8217;ve found nothing that reaches the level of detail that will be in this book.  As stated in the tag line of this site, complex things are only a combination of simple things.</p>
<p>Everything is made up of atoms.  Atoms combine to make molecules, and molecules mixed together make up chemical compounds.   In process modeling, the BPMN shapes are the atoms, and the basic patterns are the molecules.   If I want some lemonade I need water, sugar, lemons, etc.   When I go to a restaurant I don&#8217;t explain to the waitress how to make lemonade; I just ask for it.   The point to this analogy is that I see most process modelers focusing on the technical accuracy of each and every shape, over and over again.  There is a business objective to solve, but I see too much focus on the molecular level.</p>
<p>For the business and IT architecture to communicate effectively, it will take more than just a series of shapes.   It&#8217;s going to take some standardization of the process modeling world.   I&#8217;m not talking about a standard model for a financial services company or an insurance company.   If this we had a standard model for every vertical market, a company would become a commodity that you could simply buy rather than building it up from nothing.   In some ways we already have this today.  If you buy a franchise, you are also buying the business processes that are used to operate the business.   But for a large organization that is unique in its marketplace, a &#8220;process in a box&#8221; just won&#8217;t do.</p>
<p>The real solution to communicating in a process oriented way is to speak in terms that everyone can understand.  In my analogy of ordering lemonade, I don&#8217;t give the recipe to the waitress and negotiate how much sugar should be added.   I simply ask for it by name.   I can also ask &#8220;is it the concentrate mix of was it freshly made?&#8221;.</p>
<p>From where I sit in the process modeling world, I can see that most organizations that work in BPMN have a good understanding of how to create a diagram.  But we have not reached a point of being able to ask for things by name.   For example, if I want a document to get an approval, this approval pattern can also be used somewhere else like expense approval.  The pattern is identical &#8211; you just need to change the labels on the boxes and it works in both scenarios.  So let&#8217;s put a name to it, and that way we can talk about it instead of drawing it every time we want to communicate.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickgeneva.com/wp/posts/first-book-completed-whats-next/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>BPMN Book due on Amazon in July 2008</title>
		<link>http://www.rickgeneva.com/wp/posts/bpmn-book-due-on-amazon-in-july-2008/</link>
		<comments>http://www.rickgeneva.com/wp/posts/bpmn-book-due-on-amazon-in-july-2008/#comments</comments>
		<pubDate>Wed, 25 Jun 2008 05:03:59 +0000</pubDate>
		<dc:creator>Rick Geneva</dc:creator>
				<category><![CDATA[BPMN]]></category>
		<category><![CDATA[Process Modeling]]></category>

		<guid isPermaLink="false">http://www.rickgeneva.com/wp/?p=4</guid>
		<description><![CDATA[Rick Geneva and Tom Debevoise have completed the book titled The Microguide to Process Modeling in BPMN.  This book was designed to make the BPMN specification more accessible to those that choose not to read boring technical speak.   It provides real-world examples in simple terms that is easy to understand.
]]></description>
			<content:encoded><![CDATA[<p>Rick Geneva and Tom Debevoise have completed the book titled The Microguide to Process Modeling in BPMN.  This book was designed to make the BPMN specification more accessible to those that choose not to read boring technical speak.   It provides real-world examples in simple terms that is easy to understand.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.rickgeneva.com/wp/posts/bpmn-book-due-on-amazon-in-july-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
