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 a Poisson process, and then passing through a common third queue in series. Completion times through the queue network form setup times for machines in the scheduling problem. The document proposes an algorithm to find an optimal job sequence that minimizes total flow time considering job block criteria in the combined queueing and scheduling system. It discusses practical applications of this type of integrated queueing and scheduling model and provides assumptions and conditions for the model.