Multi-threaded condition-based flow framework implemented