Fixed issue #510 unable to change workflow