Blog Logo
TAGS

Storing the state of a Long Running Process

In this article, we discuss three patterns for storing the state of a long running process- storing the state in the domain entity, in the message or in a process instance. We walk through the first pattern- storing the state in the domain entity by implementing subflows from the Order Fulfillment enterprise process. We also discuss the benefits, drawbacks and limited flexibility of this approach. This article showcases how to handle long running processes and provides code examples using NServiceBus and .Net.