Multiple event subscription
See original GitHub issueHello @danielgerlag,
Thanks all your hard work done and sharing it here. I want to know whether is it possible to subscribe a step to multiple events and provide a loopback as sample shown below.
builder .StartWith<CreateUser>() .Input(step => step.Email, data => data.Email) .Input(step => step.Password, data => data.Password) .Output(data => data.UserId, step => step.UserId) .Then<SendConfirmationEmail>(sendConfirmation => { sendConfirmation .WaitFor("confirmation", data => data.UserId) .Then<UpdateUser>() .Input(step => step.UserId, data => data.UserId) .EndWorkflow(); sendConfirmation.WaitFor("resendConfirmation", data => data.UserId).Then(sendConfirmation); });
Best Regards, Nurhat
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (7 by maintainers)

Top Related StackOverflow Question
In my design, I keep all the related data in the
EFormDataand it will be stored in the persistence database. But I cannot modify approval result for specific approver easily.The N is dynamic depends on which approver published the event. My current solution is to modify EFromData in the database directly and then publish the event.
I don’t think this is a good approach. Do you have any suggestions? Thank you.
Could you vary the key by making it compound?