(Draft, to-be-updated post)
Activities
| BPMN | Windows Workflow Foundation |
| Process | |
| Sub-Process | Maps to any CompositeActivity. |
| Loop Sub-Process | Maps to a WhileActivity. |
| Multiple Instance Sub-Process | Maps to a ReplicatorActivity. |
| Ad-Hoc Sub-Process | |
| Compensation Sub-Process | Maps to a CompensateHandlerActivity. |
| Task | Maps to any atomic Activity that has only implementation semantics (e.g. CodeActivity or InvokeWebServiceActivity) |
Events
| BPMN | Windows Workflow Foundation |
| Start Event [None] | |
| Start Event [Message] | |
| Start Event [Timer] | |
| Start Event [Rule] | |
| Start Event [Link] | |
| Start Event [Multiple] | |
| End Event [None] | |
| End Event [Message] | |
| End Event [Error] | Maps to a ThrowActivity. |
| End Event [Cancel] | This type of End is used within a Transaction Sub-Process (aka inside a TransactionScopeActivity). Maps to a ThrowActivity. |
| End Event [Compensation] | Maps to a CompensateActivity. The attribute Activity:object maps to property TargetActivityName:string. |
| End Event [Link] | |
| End Event [Terminate] | Maps to a TerminateActivity. BPMN does not has an equivalent of the property Error:string. |
| End Event [Multiple] | |
| Intermediate Event [None] | |
| Intermediate Event [Message] | |
| Intermediate Event [Timer] | When used within the main flow, acts as a delay mechanism: Maps to DelayActivity.When used for exception handling it will change the Normal Flow into an Exception Flow.Either the attribute TimeDate:Date or the attribute TimeCycle:string are mapped to the property TimeoutDuration:TimeSpan |
| Intermediate Event [Error] | When used within the main flow, maps to ThrowActivity.The attribute ErrorCode:string maps to properties FaultType:Type and Fault:Exception.When attached to the boundary of an activity maps to FaultHandlerActivity. |
| Intermediate Event [Cancel] | This type of Event MUST be attached to the boundary of a Sub-Process. Maps to CancellationHandlerActivity. |
| Intermediate Event [Compensation] | When used within the main flow maps to CompensateActivity. The attribute Activity:object maps to property TargetActivityName:string.When attached to the boundary of an activity maps to CompensateHandlerActivity. The attribute Activity:object is ignored. |
| Intermediate Event [Rule] | Maps to a PolicyActivity. The attribute RuleName:Rule maps to property RuleSetReference:RuleSet. |
| Intermediate Event [Link] | |
| Intermediate Event [Multiple] |
Gateways
| BPMN | Windows Workflow Foundation |
| Exclusive (XOR) Gateway [Data-Based] | Maps to a IfElseActivity. |
| Exclusive (XOR) Gateway [Event-Based] | |
| Inclusive (OR) Gateway | |
| Parallel (AND) Gateway | Maps to a ParallelActivity. |
| Complex Gateway |
26 February 2007 at 20:18
Have you ever completed the mapping of BPMN to WF? I am using a BPMN modeler that spits out some custom XML and I need to convert that XML into WF’s XOML but I could use some help with the mapping.
5 July 2007 at 07:31
Hello
Great book. I just want to say what a fantastic thing you are doing! Good luck!
Bye