Archive for March 6th, 2007

Modeling Business Exceptions in BPMN

Bruce Mayfield posts a comment on an old thread exploring different ways to model business exceptions in BPMN.  Since that original post I’ve worked out some best practices for different types of exceptions (business exceptions vs system faults, exception detected interanlly to the process vs signaled by external event, etc).  As a reminder that our BPMN training is now available from bpmessentials.com, it’s worth reprinting his comment here and showing the solution.  He writes:

… I have been trying to model a new system in the government sector. We are building an automated system to verify new employers have workers’ compensation insurance. Each day a new list of potential uninsured employers will be created, checked against another database to make sure a letter has not already been sent, and if a letter has not been sent, a letter will be generated and sent. We have identified that there will be the possiblity that there will be exceptions where the automated process is ” not sure’ whether to send a letter and will require review by a human to make a decision as to whether the letter should be generated and sent. In this context we consider this a different kind of exception process not related to an error that will terminate a flow but will result in a decision to flow a token down one of two different paths….

In this case, it’s not clear whether the “exception” is that the letter has or has not previously been sent.  But in this case it doesn’t matter.  This is a case of a business exception (not system fault) detected internally by task or process logic (i.e. not signalled by external event).  For that, we recommend use a gateway.  In fact, here this exception occurs twice, once following the automated check (DB lookup) and again following the human review, if required.

foreach.png

 

Here the whole subprocess is marked as a multi-instance loop (the parallel bars at the bottom), which BPMN uses to model ForEach looping as in Bruce’s example.

Add comment March 6th, 2007


Content Requiring Login

Some reports on BPMS Watch are only available to logged-in users. This includes:
  • BPMS Watch Ratings Report
  • Access to the BPMS Report series
  • Bruce Silver Associates Industry Trend Reports
LOG IN HERE
Registration is easy, and its free. Click here to register. If you are registered, you have access to the private pages.

Pages

Calendar

March 2007
M T W T F S S
« Feb   Apr »
 1234
567891011
12131415161718
19202122232425
262728293031  

Featured Advertiser

Recent Comments

Feeds

Blogroll