Event based queue manager for pwf