code: func (p *ProcessStorage) CreateState(role teleport.Role, state StateV2) error {
  	if err := state.CheckAndSetDefaults(); err != nil {
  		return trace.Wrap(err)
  	}
  	value, err := json.Marshal(state)
  	if err != nil {
  		return trace.Wrap(err)
  	}
  	item := backend.Item{
  		Key:   backend.Key(statesPrefix, strings.ToLower(role.String()), stateName),
  		Value: value,
  	}
  	_, err = p.Create(context.TODO(), item)
  	if err != nil {
  		return trace.Wrap(err)
  	}
  	return nil
  }
docs: // CreateState creates process state if it does not exist yet.