Examples

Course subscriptions

Registrar translation, course administration, and student subscriptions.

translationstate_changestate_view

The rendered canvas

Generated with emhcl diagram examples/course_subscriptions.em.hcl. Use the view switcher for Model, Compact, Storming, and Context Map. Click a slice to view its scenarios.

What it covers

An external Registrar event is translated into the Course Subscriptions context. A course manager registers courses, views the course catalog, and changes capacity. A student views the available courses, subscribes, reviews their subscriptions, and unsubscribes. The manager view and the student view are separate workflows.

The model contains two bounded contexts, two actors, eight workflows, and 28 scenarios. The external Registrar event also shows the renderer's external-event notation.