Elements of the FlowElementContainer type are elements of the Process, SubProcess, Choreography and Sub-Choreography type. Only elements of the Process and Subprocess type are relevant.
The element of the FlowElementContainer type serves as a superior element for all flow elements of a process or subprocess. Elements of the FlowElementContainer type are objects of the Activity, Event, Gateway, Sequence flow, Data store and Data object types.
If a subprocess contains one of these elements or has an assignment to a model in which one of these elements is modeled, these elements are added to the element of the FlowElementContainer type. If these elements are not part of a subprocess they are added under the process element that is defined by a pool or a BPMN diagram.