Set a state in the state store.

Values will be merged:

  • If you provide a new key, the new key will be added.
  • If you provide an existing key, the previous key will be overwrite.

: : alert{type="warning"} This method is not concurrency safe. If many executions for the same flow are concurrent, there is no guarantee on isolation on the value. The value can be overwritten by other executions. : :

yaml
type: "io.kestra.plugin.core.state.Set"