SAService Architect Open designer
SAService ArchitectDocumentation
Stream type Case<T>[branch index] → R

When Operator for Typed Stream Processing

Declares one typed output branch registered on a Case stream.

When to use

Create one When for each result of the Case selector, then connect each branch to its own downstream pipeline.

Behavior

  • The runtime registers the When on its source Case and assigns its index from branch order.
  • It receives only values for that index and forwards them as its declared valueType.
  • When owns no user callback; all branch selection logic belongs to Case.
  • Different When branches may declare different compatible output contracts.

General properties

Identity, ownership and operator-specific mode.

PropertyTypeDescription
typeTransformationType

Operator kind. It controls available properties, valid sources and generated interfaces.

RequiredAllowed: Input, SubStream, Map, Filter, Join, MultiJoin, Process, FlatMap, FlatMapIterable, KeyBy, Merge, Split, Case, Sink, CycleLink, Error, Delay, When
namestring

Human-readable stream name shown in the designer and used to derive default generated symbols.

Required
serviceService

Service that owns the stream. Connected streams must belong to the same service.

Required

Connections properties

Upstream graph references accepted by this operator.

PropertyTypeDescription
sourceStream

Single upstream stream. The designer only offers structurally and type-compatible candidates.

Required

Data Types properties

Message contracts visible at this node.

PropertyTypeDescription
valueTypeType

Output or response message contract. The exact meaning is operator-specific.

RequiredDefault: UnknownType

Execution properties

Pipeline placement and runtime policy.

PropertyTypeDescription
pipelinestring

Named business-flow grouping inside the owning service; retained in generated configuration and runtime grouping metadata. It does not create connections.

Position properties

Designer-only canvas coordinates.

PropertyTypeDescription
xPosnumber

Horizontal designer coordinate. It has no runtime effect; missing positions can be supplied by layout.

yPosnumber

Vertical designer coordinate. It has no runtime effect; missing positions can be supplied by layout.

Configuration example

type: When
source: routeAnalyticsResult
valueType: analyticsResult
name: High Value Analytics