Get state and transition that respond to event