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.