You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for considering my request. Basically missing part was access flow history. Which will be needed frequently to show the history of flow to users.
What happened?
I tried to extend the existing trait HasState to get the list of history of transaction for specific model. here is the function that i added:
but i am not able to get the exact result using :
$model = $model->findOrFail($this->editingId);
$history = $model->getStateHistory();
i am getting following error:
Typed property AuroraWebSoftware\ArFlow\StateTransition::$comment must not be accessed before initialization
is there any way to get the list of transition history from transition log table?
How to reproduce the bug
add above extended trait and try to access the getStateHistory method to extract the log history related to model.
Package Version
1.0.2
PHP Version
8.2
Laravel Version
10
Which operating systems does with happen with?
No response
Notes
Appreciate your help. I found only this feature is missing for this model. other wise every thing works like charm.
thanks
The text was updated successfully, but these errors were encountered: