It would have to be:
``.thenResolve(self.construct_state_name('thankyou'));``
That fine?