delete
Delete a state from the state store (Deprecated, use KV store instead).
Delete a state from the state store (Deprecated, use KV store instead).
Delete a state from the state store (Deprecated, use KV store instead).
type: "io.kestra.plugin.core.state.delete"Examples
Delete the default state for the current flow.
id: delete_state
type: io.kestra.plugin.core.state.DeleteDelete the myState state for the current flow.
id: delete_state
type: io.kestra.plugin.core.state.Delete
name: myStateProperties
errorOnMissingbooleanstring
falseRaise an error if the state is not found.
namestring
defaultThe name of the state file
namespacebooleanstring
falseShare state for the current namespace.
By default, the state is isolated by namespace and flow, setting to true will share the state between the same namespace
taskrunValuebooleanstring
trueIsolate the state with taskrun.value.
By default, the state will be isolated with taskrun.value (during iteration with each). Setting to false will use the same state for every run of the iteration.
Outputs
deletedboolean
Flag specifying whether the state file was deleted