remove unnecessary and invalid state method from dummy workflow definition