Actually insert WHEN:NEXT_STEP triggers into the state record