A dynamic workflow management system to support cooperation in the extended enterprise