LESSON 12 / 16·2 min readIntermediate

Reusable Engine vs. Application

Should knowConcept lesson
01 Understand02 Recall03 Prepare

Another useful architectural distinction is between a workflow engine and the application that uses it.

The reusable engine owns generic execution capabilities: graph traversal, state transitions, rule evaluation, obligations, execution orchestration, and audit integration.

An application owns its APIs, authentication, user experience, environment configuration, and application-specific connectors.

Example
Main Application --------+
                         |
Workflow Test App -------+----> One Workflow Engine
                         |
Future Application ------+

This allows multiple applications to share the same workflow behavior without maintaining duplicate engines. The engine can be packaged as an SDK with a stable public API and an externally supplied workflow configuration/content root.

PAUSE & RECALL

Can you explain it without the notes?

Reusable Engine vs. Application

Use your own words. Explain an example and one limitation before checking the explanation.

Check your explanation

Another useful architectural distinction is between a workflow engine and the application that uses it.

CONNECT IT TO YOUR INTERVIEW

Turn this concept into a clear answer.

Practice this concept
YOUR NEXT STEP

Keep connecting the ideas.

Next lesson: LLM-Driven vs. Deterministic Workflow

Adapted from 19_deterministic_workflow_engine_learnings.md · “11. Reusable Engine vs. Application”. Examples are study fragments; framework behavior can depend on your version.