Skip to main content

PatternEvent

Defined in: types.ts:743

A structured event emitted when process mining discovers a pattern.

Properties​

agentId​

readonly agentId: string

Defined in: types.ts:745


eventType​

readonly eventType: "pattern.discovered" | "pattern.updated"

Defined in: types.ts:744


operatorContext?​

readonly optional operatorContext?: OperatorContext

Defined in: types.ts:749


operatorId?​

readonly optional operatorId?: string

Defined in: types.ts:748


pattern​

readonly pattern: { processModel: ProcessModel; topBottlenecks: readonly { nodeName: string; nodeType: NodeType; p95: number; }[]; topVariants: readonly { count: number; pathSignature: string; percentage: number; }[]; totalGraphs: number; variantCount: number; }

Defined in: types.ts:750

processModel​

readonly processModel: ProcessModel

topBottlenecks​

readonly topBottlenecks: readonly { nodeName: string; nodeType: NodeType; p95: number; }[]

topVariants​

readonly topVariants: readonly { count: number; pathSignature: string; percentage: number; }[]

totalGraphs​

readonly totalGraphs: number

variantCount​

readonly variantCount: number


schemaVersion​

readonly schemaVersion: number

Defined in: types.ts:747


timestamp​

readonly timestamp: number

Defined in: types.ts:746