1 A Distributed and Flexible Workflow Management System (WfMS) Maryam Tehrany Information Science Department University of Otago at Dunedin, New Zealand.