restore done state method for state workflow