Basic flow context building for bpmn