Towards an Adaptable workflow management system