Wednesday, March 19, 2008

Compensation in BPMN

How would users model a compensation in Oracle's BPMN tool? Apologies David for the delay, here you go:
In this example, if the BPMN activity "credit check" fails for some reason, the process refunds the credit card charges.

18 comments:

Bruce Silver said...

Vishal,
This is incorrect. Compensation intermediate event just links an activity to its compensating (undoing) activity. It is not a sequence flow, just an association to a single activity. The compensation occurs only when either a compensation signal is thrown by a compensation end event or by a cancel intermediate event attached to the boundary of the surrounding transactional subprocess. In your diagram, Check Credit would not have a compensating activity. Something like Charge Customer might have a compensating activity Credit Customer, and the signal to compensate might be thrown after some condition such as item is out of stock.
--Bruce

Vishal Saxena said...

Bruce,
I am not sure if I understand your point. Once a compensation event is triggered, what would happen next is entirely a modeler choice. Will it result in triggering a diferent sequence flow or will it come and join the regular flow are two equally plausible and correct alternatives.
I agree that instead of "check credit", "charge customer" is probably a better example. However, once the compensating activity "Credit Customer" is triggered, there are two alternatives:
1. We end the process - this is similar to the use case you are targeting - Compensation end event.
2. There is also another use case, where in , we can "check with partners" if they have it in stock, or look at my supply chain and "create a backlog order" for this item. This might be a more common example for complex enterprise processes.

The second use case is what I have tried to address in this example.

Anonymous said...

cheap wedding gowns,
discount bridal gowns,
China wedding dresses,
discount designer wedding dresses,
China wedding online store,

Anonymous said...

情趣用品情趣

正妹視訊網頁設計

情趣用品情趣用品情趣


威而柔自慰套自慰套SM充氣娃娃充氣娃娃潤滑液飛機杯按摩棒跳蛋性感睡衣威而柔自慰套自慰套SM充氣娃娃充氣娃娃潤滑液飛機杯按摩棒跳蛋性感睡衣

自慰器自慰器

products said...

China Wholesalers has been described as the world’s factory. buy products wholesaleThis phenomenom is typified by the rise ofbusiness. Incredible range of products available with China Wholesale “Low Price and High Quality” not only reaches directly to their target clients worldwide but also ensures that wholesale from china from China means margins you cannot find elsewhere and China Wholesale will skyroket your profits.china wholesale productsbuy china wholesalewholesale chinawholesale productsbuy products

products said...

We offer designer wedding dresses, custom wedding dress, cheap cell phonescheap wedding dressesbridal gowns, plus size wedding dresseswedding gowns, beautiful wedding dressesFlower Girl Dresses and so on. Buy tailor-made discount wedding dresses anddesigner wedding dresses designer lace wedding dresses to be a special brides now!

products said...

Wholesale Gemstone cheap Gemstone Jewelry from China, discount wholesale jewelry Beads, wholesale Gemstone jewelry cheapest Wholesale Naruto anime and manga cheap cosplay costumes, cheap Naruto cosplay costumes on sale, buy Naruto cosplay naruto online shop.Wholesale anime and manga naruto cosplay costumes, cheap cosplay costumes on sale, buy anime cosplay costumes online shop

crazyloko said...

I’m a Chaussures Nike huge fan of Fiber Gourmet pasta’s; Cheap Ed Hardy clothingthey taste great and Air Max Chaussures are healthy not only for you but your entire family. Polo shirtThere’s really no difference in the taste between thisTn Requin pasta and your standard pasta, Chaussures SportI couldn’t tell the difference, Polo shirt
neither could any member of my family including my picky children. chaussure sportIt’s nice to know that even while dieting and watching my calorie intake Wholesale Polo Shirtsthere is an alternative out there that allows me to eat the pasta I want, when I want without the guilt.

crazyloko said...

Chaussures puma de sport en magasin Livraison 24 H,Air ShoesVendre nike chaussures Nike Tn,requin tn,CHAUSSURES FEMME,Nike chaussures homme ,nike shox nz ,NIKE AIR MAX 360,NIKE SHOX TORCH,NIKE ShOX Rival,Nike Shox R4,wholesale polo shirtsNIKE AIR RIFT,NIKE requin tn Livraison 24H Shox R4,Jeans OnlineNIKE AIR RIFT,NIKE requin tn Livraison 24H Paypal Credit card Accept

replica rolex said...

Rolex Watches Rolex Watches
Tag Heuer Watches Tag Heuer Watches
rolex replica rolex replica
replica rolex replica rolex
rolex replica watches rolex replica watches
replica rolex watches replica rolex watches
Tag Heuer Tag Heuer
replica Tag Heuer replica Tag Heuer
Tag Heuer replica Tag Heuer replica
rolex rolex
rolex air king rolex air king
rolex datejust rolex datejust
rolex day date rolex day date
rolex daytona rolex daytona
rolex gmt rolex gmt
rolex submariner rolex submariner
rolex yachtmaster rolex yachtmaster
rolex air king watches rolex air king watches
rolex datejust watches rolex datejust watches
rolex day date watches rolex day date watches
rolex daytona watches rolex daytona watches
rolex gmt watches rolex gmt watches
rolex submariner watches rolex submariner watches
rolex yachtmaster watches rolex yachtmaster watches

combattery84 said...

Dell Y9943 battery
Dell Inspiron 1521 battery
Dell Inspiron 510m battery
Dell Latitude D500 battery
Dell Latitude D520 battery
Dell GD761 battery
Dell NF343 battery
Dell D5318 battery
Dell G5260 battery
Dell Inspiron 9200 battery
Dell Latitude C500 battery
Dell HD438 Battery
Dell GK479 battery
Dell PC764 battery
Dell KD476 Battery
Dell Inspiron 1150 battery
Dell inspiron 8500 battery
Dell Inspiron 4100 battery
Dell Inspiron 4000 battery
Dell Inspiron 8200 battery
Dell FK890 battery
Dell Inspiron 1721 battery
Dell Inspiron 1300 Battery
Dell Inspiron 1520 Battery
Dell Latitude D600 Battery
Dell XPS M1330 battery
Dell Latitude D531N Battery
Dell INSPIRON 6000 battery
Dell INSPIRON 6400 Battery
Dell Inspiron 9300 battery
Dell INSPIRON 9400 Battery
Dell INSPIRON e1505 battery

combattery84 said...

Dell Y9943 battery
Dell Inspiron 1521 battery
Dell Inspiron 510m battery
Dell Latitude D500 battery
Dell Latitude D520 battery
Dell GD761 battery
Dell NF343 battery
Dell D5318 battery
Dell G5260 battery
Dell Inspiron 9200 battery
Dell Latitude C500 battery
Dell HD438 Battery
Dell GK479 battery
Dell PC764 battery
Dell KD476 Battery
Dell Inspiron 1150 battery
Dell inspiron 8500 battery
Dell Inspiron 4100 battery
Dell Inspiron 4000 battery
Dell Inspiron 8200 battery
Dell FK890 battery
Dell Inspiron 1721 battery
Dell Inspiron 1300 Battery
Dell Inspiron 1520 Battery
Dell Latitude D600 Battery
Dell XPS M1330 battery
Dell Latitude D531N Battery
Dell INSPIRON 6000 battery
Dell INSPIRON 6400 Battery
Dell Inspiron 9300 battery
Dell INSPIRON 9400 Battery
Dell INSPIRON e1505 battery

Mohammad said...

Finally, an issue that I am passionate about. I have looked for information of this caliber for the last several hours. Your site is greatly appreciated. Replica Watches

Anonymous said...

christian louboutin Supra Over-the-Knee Boot |christian louboutin Supra Over-the-Knee Boot
Christian Louboutin black fold-over boots |Christian Louboutin black fold-over boots
Alexander McQueen Over-The-Knee Flat Boots |Alexander McQueen Over-The-Knee Flat Boots
Alexander McQueen Leather riding tall boots |Alexander McQueen Leather riding tall boots
Alexander McQueen Buckled leather ankle boots |Alexander McQueen Buckled leather ankle boots

Nikola said...

Humans and dolphins are the only species that have sex for pleasure.progressive auto insurance

Nikola said...

If you keep a Goldfish in the dark room, it will eventually turn white. auto insurance quote

Nikola said...

There wasn't a single pony in the Pony Express, just horses.laptops review

Anonymous said...

top [url=http://www.c-online-casino.co.uk/]casino bonus[/url] brake the latest [url=http://www.casinolasvegass.com/]free casino games[/url] unshackled no store bonus at the foremost [url=http://www.baywatchcasino.com/]loosen casino
[/url].