Flow manager query