Closed sm-g closed 4 years ago
I bet I know why, the visualizer was written before Ignore was added, and likely not updated to handle it.
Any update on this? I'd like to show to my colleagues how awesome Automatonymous is, but this might be a show stopper...
I already peeked at the code, but have no clue where to start...
also TransitionToState
inside Then
not visualized
.ThenAsync(context => context.WithServices(async sp =>
{
...
if (condition)
{
await this.TransitionToState(Succeeded);
}
else
{
await this.TransitionToState(Failed);
}
}))
Because you’re call it, only the Then will be visualized. Conditionals inside Then cannot be discovered.
How I should design such statemachine, where decision is not based on value in message/instance, to be able to visualize transitions?
In state machine I have
but generated dot file has edges from
Failed
state toCreateEntitiesFaulted
event.