update to workflow generate
APP-174 fixed run status issues with replay workflows