Skip to main content

Decision Service

A Decision Service defines a reusable unit of decision logic that is exposed as a service. It encapsulates a sub-graph of the DRG.

Semantics

A Decision Service exposes an interface with:

  • Input Decisions: Values passed into the service.
  • Input Data: External data required by the service.
  • Output Decisions: The results returned by the service.

Usage

  • External Invocation: Can be called by external systems (stateless execution).
  • Internal Invocation: Can be called by other decisions in the model.

Structure

Visually, it is a rectangle with rounded corners and a thick border, containing other decisions. The line across the middle separates Output Decisions (top) from Encapsulated Decisions (bottom).