A novel workflow management system for handling dynamic process adaptation and compliance