Is it possible to have conditional flow in the NServiceBus Saga?

84 Views Asked by At

I am new to NServiceBus & its Saga... is it possible to implement conditional flow in the sagas? saga: s->a->b->e At 'a', i should be able make a choice whether to go b or new state c. From 'c' again i should reach e

1

There are 1 best solutions below

2
Sean Feldman On

Short answer yes.

Saga is a coordinator of the process flow. Based on the state, send a message of one or another type that is handled by the saga to get to one or another state.