This document presents a mathematical model that links a flow shop scheduling problem to a parallel biserial queue network. The model considers jobs arriving to two parallel queues according to Poisson processes, then merging into a common third queue before entering a flow shop with two machines. The completion times from the queue network provide setup times for the first machine. The objective is to find a job sequence for the flow shop that minimizes total flow time, including job block criteria where some jobs have priority over others. An algorithm is proposed and assumptions are provided for analyzing the combined queueing and scheduling system.