Skip to content
Esa Puttonen edited this page Feb 12, 2016 · 3 revisions
  • Do not make backward incompatible changes to existing workflow definitions. Instead, create a new workflow definition if the structure of the workflow would change.

  • Prefer embedding single-domain workflows to domain applications instead of one big multi-domain nFlow server. Benefits:

  1. Domain objects and workflows can be updated or created in a same non-distributed transaction.
  2. Workflow implementation is easier, when workflows can use domain services directly. No need to expose domain services over REST just for implementing workflows.
  3. System management is easier, when domain services and workflows are within the same deployable unit. Managing a monolithic workflow server with multi-domain dependencies is more difficult.