Case<T>[branch index] → RWhen
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.
typeTransformationTypeOperator kind. It controls available properties, valid sources and generated interfaces.
RequiredAllowed:Input, Map, Filter, Join, MultiJoin, Process, FlatMap, FlatMapIterable, KeyBy, Merge, Split, Case, Sink, CycleLink, Error, Delay, WhennamestringHuman-readable stream name shown in the designer and used to derive default generated symbols.
RequiredserviceServiceService that owns the stream. Connected streams must belong to the same service.
RequiredConnections properties
Upstream graph references accepted by this operator.
sourceStreamSingle upstream stream. The designer only offers structurally and type-compatible candidates.
RequiredData Types properties
Message contracts visible at this node.
valueTypeTypeOutput or response message contract. The exact meaning is operator-specific.
RequiredDefault:UnknownTypeExecution properties
Pipeline placement and runtime policy.
pipelinestringVisual and configuration grouping inside the owning service.
Position properties
Designer-only canvas coordinates.
xPosnumberHorizontal designer coordinate. It has no runtime effect.
RequiredyPosnumberVertical designer coordinate. It has no runtime effect.
RequiredConfiguration example
type: When
source: routeAnalyticsResult
valueType: analyticsResult
name: High Value Analytics