Architecting and designing : Business Process Analysis (BPA) : BPEL generation : BPEL to BPMN mapping reference : BPMN to BPEL mapping for Children Activities
  
BPMN to BPEL mapping for Children Activities
You can generate BPEL code for BPMN Children Activities.
Pattern
BPMN comments
In this pattern, a process symbol can have children diagrams, for each child diagram that is a business process diagram a sequence is created that holds the content for the entire child diagram.
BPEL comments
1 The parent symbol must be a process symbol only.
2 If there is only one child diagram a <sequence> element is created.
3 The ncname of the <sequence> attribute is taken from the process name "BPMN Process".name.
4 All children diagram activities reside completely contained within the <sequence> element and occupy the Child Diagram placeholder.
5 If there is more than one child diagram then
For each child diagram that is a business process diagram another <sequence> element is created.
The ncname of the <sequence> attribute is taken from the business process diagram name "Business Process".name
6 All children diagram activities reside completely contained within their respective sequence element and occupy the Child Diagram placeholder.
Element construct
<sequence name="ncname">
Child Diagram
</sequence>
<sequence name="ncname">
<sequence name="ncname">
Child Diagram
</sequence>
</sequence>
See also
BPEL to BPMN mapping reference