Skip to main content

PatternEvent

Defined in: types.ts:651

A structured event emitted when process mining discovers a pattern.

Properties

agentId

readonly agentId: string

Defined in: types.ts:653


eventType

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

Defined in: types.ts:652


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:656

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:655


timestamp

readonly timestamp: number

Defined in: types.ts:654