I have a MassTransitStateMachine that orchestrates a process which involves creating multiple events. Once all of the events are done, I want the state to transition to a 'clean up' phase. Here is the relevant state declaration and filter function: During(ImportingData, When(DataImported) // When we get a data imported event, mark this source as done. .Then(MarkImportCompletedForLocation), When(DataImported, IsAllDataImported) // Once all are done, we can transition to cleaning up... .Then(CleanUpSources) .TransitionTo(CleaningUp) ); ...snip... private static bool IsAllDataImported