Workflow 2.0 state changes with workflow field

The workflow transition event is gone from Workflow 2.0. This thread explains how to react to a check for transitions.