Routing Spec
How a node routes processed instances. A closed set of variants.
Inheritors
Types
Link copied to clipboard
@Serializable
@SerialName(value = "byChance" )
Route probabilistically; branches probabilities must sum to 1.
Link copied to clipboard
@Serializable
@SerialName(value = "byCondition" )
Route by predicate, first matching case wins, falling back to default. Each case names a predicate resolved at build time from the builder's predicate registry (behavior is not serialized — only the hook name). An unknown name fails the build loudly.
Link copied to clipboard
@Serializable
@SerialName(value = "byType" )
Route by the instance's type id, falling back to default.
Link copied to clipboard
Route directly to the node named to.
Link copied to clipboard
@Serializable
@SerialName(value = "shortestQueue" )
Route to whichever of among currently has the least work in process.