From the course: Software Architecture: Domain-Driven Design

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Demo: Activities flow, part 2

Demo: Activities flow, part 2

From the course: Software Architecture: Domain-Driven Design

Start my 1-month free trial

Demo: Activities flow, part 2

- [Instructor] Now let's look at the second flow at the authorized shipment flow. Once we've authorized the shipment, of course the next event is going to be that the shipment has been authorized. So, we'll move this up here in order to indicate that. There's some business rules involved though is that the shipment can't be authorized. Or rather the shipment can't be made until we've received payment. So I'd like to capture that business rule on the diagram and I'm going to do that using a purple note, a process note. So let's go up here, grab purple, and I'm going to capture my business rule. I cannot ship unless payment has been processed. So that's a business rule. It has to do with shipment authorized. So I'll attach it here to the shipment authorized step. Once the shipment has been authorized, then I can create a shipping label. So let's do that next. We'll just cut and paste this guy. Now the shipper is…

Contents