Mapping BPMN Graphical Objects to WF Activities

(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
Advertisements

About Panos

My name is Panos Kokkinidis and I am R&D Manager in Relational S.A., Athens, Greece.
This entry was posted in BPMN, Workflow Foundation. Bookmark the permalink.

2 Responses to Mapping BPMN Graphical Objects to WF Activities

  1. Remus Radu says:

    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.

  2. tovorinok says:

    Hello

    Great book. I just want to say what a fantastic thing you are doing! Good luck!

    Bye

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s