Get a state from the state store (Deprecated).
type: "io.kestra.plugin.core.state.Get"
Examples
Get the default state file for the current flow.
id: get_state
type: io.kestra.plugin.core.state.Get
Get the myState
state for the current flow.
id: get_state
type: io.kestra.plugin.core.state.Get
name: myState
Properties
errorOnMissing booleanstring
false
Raise an error if the state file is not found.
name string
default
The name of the state file
namespace booleanstring
false
Share 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
taskrunValue booleanstring
true
Isolate 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
count integer
0
The count of properties found in the state
data object
The data extracted from the state