Feature Request: Return stored arguments from state accessor
Problem
When restarting a state machine that was stopped due to an external error,
I need to retrieve the previously stored arguments to re-activate the current state.
Currently, there's no way to access these arguments through the state accessor,
forcing manual retrieval from REDIS.
Current Behavior
The stateAccessor only returns the state, not the arguments that were passed
when entering that state.
Expected Behavior
The state accessor should also return the stored arguments so that:
- State machines can be properly restored after failures
- Arguments don't need to be manually retrieved from external storage
Use Case
Restarting a state machine from a persisted state in REDIS with all original context.
Reference
Link to relevant code
Feature Request: Return stored arguments from state accessor
Problem
When restarting a state machine that was stopped due to an external error,
I need to retrieve the previously stored arguments to re-activate the current state.
Currently, there's no way to access these arguments through the state accessor,
forcing manual retrieval from REDIS.
Current Behavior
The
stateAccessoronly returns the state, not the arguments that were passedwhen entering that state.
Expected Behavior
The state accessor should also return the stored arguments so that:
Use Case
Restarting a state machine from a persisted state in REDIS with all original context.
Reference
Link to relevant code