# state-write

[State Register](../concept/state-register.md) defines a task for writing a value to a state.

## parameters

- name
  - Specifies the "name" of the target state to be written
- [accessor](../concept/data-accessor.md)
  - A step name within the scenario, specifying the data to be written.
