Pending process retrieval method in dao