PatternEvent
Defined in: types.ts:737
A structured event emitted when process mining discovers a pattern.
Properties
agentId
readonlyagentId:string
Defined in: types.ts:739
eventType
readonlyeventType:"pattern.discovered"|"pattern.updated"
Defined in: types.ts:738
operatorContext?
readonlyoptionaloperatorContext?:OperatorContext
Defined in: types.ts:743
operatorId?
readonlyoptionaloperatorId?:string
Defined in: types.ts:742
pattern
readonlypattern: {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:744
processModel
readonlyprocessModel:ProcessModel
topBottlenecks
readonlytopBottlenecks: readonly {nodeName:string;nodeType:NodeType;p95:number; }[]
topVariants
readonlytopVariants: readonly {count:number;pathSignature:string;percentage:number; }[]
totalGraphs
readonlytotalGraphs:number
variantCount
readonlyvariantCount:number
schemaVersion
readonlyschemaVersion:number
Defined in: types.ts:741
timestamp
readonlytimestamp:number
Defined in: types.ts:740