Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
AshStateMachine transitions from/to multiple states and no default initial state - Ash Framework
AF
Ash Framework
•
3y ago
•
150 replies
\ ឵឵឵
AshStateMachine transitions from/to multiple states and no default initial state
Is there a way I can pass an array to
from:
from:
and
to:
to:
? Right now for the latter case it only makes sense if I can explicitly pass the state to transition to in the change builtin
.
Can I not specify a default initial state
, and simply require that it be one of a set of initial states and not be
nil
nil
?
Tagging this
Core
Core
for now
.
Ash Framework
Join
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.
2,193
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Next page
Similar Threads
implementing state_timeout in AshStateMachine
AF
Ash Framework / support
3y ago
AshOban and AshStateMachine
AF
Ash Framework / support
4mo ago
Splitting resource using AshStateMachine using `Spark.Dsl.Fragment`
AF
Ash Framework / support
3y ago
Fragment with multiple 'from' items.
AF
Ash Framework / support
3y ago