Issue #3508337 by haicao-devpanel, johnv, spiderman: Workflow doesn't recognize state change first time