Skip to content

Events Dictionary

This dictionary lists the events KnowledgeLake writes, by their scopes. For each one it gives what it means, when it fires, its useful properties, and whether it reaches a Secondary Event Provider under the default filter.

This page holds the events customers ask about most. The full list, grouped by source, is on the six pages linked at the end.

At a glance

  • Event name The Scopes list, joined with commas. {x} marks a value filled in at run time
  • Default filter A provider created in the UI with every category ticked. "Passes" means the event arrives there
  • Blocked Written and routed, but no category matches its first scopes, so it never arrives
  • Not delivered The service that writes it does not forward events to secondary providers
  • Values Every property is a string unless marked long, double or bool

How to read an entry

  • Meaning What happened, in one line.
  • Fires When the platform writes it.
  • Properties The useful keys in Properties (Cosmos DB) or StringProperties (Elastic). Every event also has the envelope described in Events and the Secondary Event Provider: EventId, OccurredTime, MachineId, and for work item events WorkItemId, WorkItemRootId, ProcessId, ProcessVersion, StepId, WorkType.
  • Failures Most app events have a twin with exception inserted before the last scope and a property exception. Some use error, and a few reuse the success scopes with only an error or Exception property. The source pages say which.

Coverage by source

Source What reaches the provider under the default filter
Workflow worker (KWorker) About 75 event shapes. All pass, except Intuitive AI engine errors (error, KWorker, ...)
Custom Event step (custom) Passes, on the workflow worker
Legacy worker and scheduled jobs (processing) Start, stop, error and update events pass. New child work items and email imports do not arrive
Apps (apps) All pass, except Insight, the Tasks app, the class builders, Monitor RPA actions, attended automation consumption, upload profiles and Portal administration
API call audit (apps, openapi) One success or error event for most actions. All pass
Write Event API (openapi) Blocked
Content Services (contentServices) 14 success audits pass. Failures are not stored
Bot Service (botServices) One RPA consumption event. Passes
Tasks service (interactions) Not delivered
Batch and management services Nothing delivered

Summary

Event Meaning Reaches the provider
KWorker, RunStep Step started or finished Yes
KWorker, AddHold, Completed Work item completed Yes
KWorker, AddHold, Error Work item errored Yes
KWorker, AddHold, Hold, KWorker, ReleaseHold On hold, hold released Yes, except task releases
KWorker, RouteTaken Route chosen Yes
KWorker, FailedStepRetry Step will retry Yes
KWorker, update, Upload To Destination Document released Yes
KWorker, update, ExtractText OCR finished Yes
KWorker, update, Classification Completed Document classified Yes
KWorker, workitem, step, AIUsage One LLM call Yes, on the workflow worker
error, KWorker, workitem, learn, step, {eventType} Intuitive AI engine error No (blocked)
apps, upload, workitem, add, Upload Upload consumption Yes
apps, webcapture, consumption, RecordFileProcessingData Scan consumption Yes
apps, webindex, ..., UnlockAndCommitBatch Indexing committed Yes
apps, security, login, ... User signed in Yes
apps, configuration, security, featurePermission, ... Feature permissions changed Yes
apps, workflow, configuration, SaveWorkflow Workflow saved Yes
apps, workflow, configuration, update, SetGlobalVariable Global variable set Yes
apps, taxonomy, configuration, {object}, {action}, {method} Connections change Yes
apps, openapi, invoke, success, error, {Method} API call succeeded or failed Yes
processing, job, start / stop / error, ExecuteJob Job run started, finished, failed Yes
botServices, consumption, finishBotAutomation RPA job finished Yes
apps, Monitor, Rpa, {action} RPA actions in Monitor No (blocked)
contentServices, audit, {operation} Document record operation Yes
custom, {your scopes} Custom Event step Yes
interactions, interactions, ... Task service events No (not delivered)
apps, interactions, ... Tasks app deletes and assignment No (blocked)
Portal, Config, ... Portal administration No (blocked)

Workflow steps and work items

KWorker, RunStep
  • Meaning A workflow step started (Start) or finished (Stop). Both share one EventId.
  • Fires For every step execution.
  • Properties Stop has DurationMs and, on failure, IndexedEventStatus Error and error (the exception text). WorkType names the step type, StepId the step.
  • Default filter passes.
KWorker, AddHold, Completed
  • Meaning The workflow finished and the work item was archived. This is the "work item completed" event.
  • Properties long HoldExpiry.
  • Default filter passes.
KWorker, AddHold, Error
  • Meaning The work item entered the error state. This is the "work item errored" event.
  • Properties Queue metadata. IndexedEventStatus stays Event (the scope is capital E Error), so filter on the scopes.
  • Default filter passes.
KWorker, AddHold, Hold and KWorker, ReleaseHold
  • Meaning The work item went on hold (waiting for a task, a callback or a timer), and later the hold was released.
  • Properties ReleaseHold has holdReleaser, holdReleaseInfo (JSON), holdReleaseReason (HoldExpired or ManuallyReleased).
  • Default filter passes. A release written by the Tasks service when a task completes is not delivered.
KWorker, RouteTaken
  • Meaning A route out of the current step was chosen.
  • Properties routeName (DefaultRoute, Send To Workflow, or your route's name), routeId, nextStepId.
  • Default filter passes.
KWorker, FailedStepRetry
  • Meaning A step failed and will be retried.
  • Properties errorMessage, error, retryDelaySeconds. Status Warning.
  • Default filter passes.
KWorker, update, Upload To Destination
  • Meaning One document was released to a destination.
  • Fires Once per released document.
  • Properties documentId, docFileName, originalFileName, connectorName, contentTypeName, contentTypeId, documentUrl, numPages or numFiles.
  • Default filter passes.
KWorker, update, ExtractText
  • Meaning OCR finished for the work item.
  • Properties ocrdPageCount, ocrEngine (Az Azure OCR, Nu Nuance).
  • Default filter passes.

Intuitive AI

KWorker, update, Classification Completed
  • Meaning A document was classified.
  • Properties className, classId, subclassName, subclassId, classificationConfidence, extractionConfidence, wasClassified, wasSeparated, inputDocumentPages, outputDocumentPages, extractionSeconds.
  • Default filter passes.
KWorker, workitem, step, AIUsage
  • Meaning One LLM call was made: the AI token usage record.
  • Properties usage (ZeroShot or AutoExtractionPlugin), promptTokens, completionTokens, totalTokens (numeric strings), exceededTokenLimit, wasBatched, and model (zero-shot) or instance (Auto Extraction).
  • Default filter Passes, on the workflow worker. Not stored at all on the legacy worker.
error, KWorker, workitem, learn, step, {eventType}
  • Meaning The Intuitive AI engine reported an error during a step.
  • Properties EventType, Message, batchId, sometimes JsonDataBucket.
  • Default filter blocked (no category covers the first scope error).

Upload, scan and index counts

apps, upload, workitem, add, Upload
  • Meaning A user's upload was released into processing: the upload consumption record.
  • Properties batchId, batchName, sourceName, numDocuments, numPages.
  • Default filter passes.
apps, webcapture, consumption, RecordFileProcessingData
  • Meaning One file was imported through the scanning client: the scan consumption record.
  • Properties library, fileName, fileExtension, numImportedPages.
  • Default filter passes.
apps, webindex, workitem, batch, unlock, update, UnlockAndCommitBatch
  • Meaning A user finished indexing and committed the work item.
  • Properties batchId, numDocuments, numPages.
  • Default filter passes.

Sign-in and security

apps, security, login, LoginWithUsernameAndPassword and LoginUsingOAuth
  • Scopes apps, security, login, LoginWithUsernameAndPassword and apps, security, login, LoginUsingOAuth
  • Meaning A user signed in.
  • Properties catalogId, userToken, sessionid (hashed), and username for a password sign-in.
  • Failures apps, security, login, exception, {method} with exception = apps_unabletologin.
  • Default filter passes.
apps, configuration, security, featurePermission, update, ChangeIdentityFeaturesAsync
  • Meaning An administrator changed which app features a user or group may use.
  • Properties userToken (the target), catalogId, catalogName, isGroup, features (JSON).
  • Default filter passes. More in Sign-In and Security Events.

Configuration changes

apps, workflow, configuration, SaveWorkflow
  • Meaning A workflow was saved in the Workflow designer.
  • Properties Name, Id, Version.
  • Default filter passes.
apps, workflow, configuration, update, SetGlobalVariable
  • Meaning A global variable was created or changed. The value is never logged.
  • Properties VariableName, Tags.
  • Default filter passes.
apps, taxonomy, configuration, {object}, {action}, {method}
  • Meaning A Connections change: a connector, source, content type, field behavior, content type permission or gateway.
  • Properties The object's ids and, for settings, parameters with passwords and secrets removed.
  • Default filter passes. Every method is in Configuration Events.

API calls

apps, openapi, invoke, success, {Method} and ..., error, {Method}
  • Scopes apps, openapi, invoke, success, {Method} and apps, openapi, invoke, error, {Method}
  • Meaning One API call succeeded or failed.
  • Properties tokenName (the token's user), methodName, the request's main ids, errorMessage or exception on failure, and DurationMs for many actions.
  • Default filter passes. The work item, Jobs and RPA actions use workitem instead of invoke. See API Call Events.

Jobs

processing, job, start / stop / error, ExecuteJob
  • Scopes processing, job, start, ExecuteJob, processing, job, stop, ExecuteJob and processing, job, error, ExecuteJob
  • Meaning A scheduled job run started, finished, or failed (the job is set to Error).
  • Properties jobDisplayName, jobInstanceID, jobScriptId, jobName, jobStatus, serviceName, isChild, executionId, and exception on error.
  • Default filter passes. jobInstanceID is the id that V1_JobsAPI/ResubmitJob takes. See Find and resubmit failed jobs.

RPA

botServices, consumption, finishBotAutomation
  • Meaning An RPA job finished: the RPA consumption record.
  • Properties RPATaskId, Status (Complete, Cancelled or Error).
  • Default filter passes.
apps, Monitor, Rpa, {action}
  • Meaning A user cancelled, held, released or resubmitted RPA jobs in Monitor.
  • Properties JobId or JobId_{n}.
  • Default filter blocked (capital M Monitor).

Repository

contentServices, audit, {operation}
  • Meaning A successful operation on a document record: Create, Update, Delete, Move, FetchBlob, Search, GetRecordById and others.
  • Properties User, ResourceName, ElapsedMillis, and storage keys such as RecordId.
  • Default filter passes. Search and GetRecordById are high volume. Failed or denied operations are not stored.

Your own events

custom, {your scopes}
  • Meaning Written by a Custom Event step, with exactly the properties its script set.
  • Default filter Passes (category Custom). See Custom Event step.

Tasks and Portal

These never reach a provider

  • Tasks service interactions, interactions, ... (task created, completed, hold released, purged) is not delivered. The Tasks service does not forward events.
  • Tasks app apps, interactions, ... (task deletes and assignment in the Tasks app) is blocked.
  • Portal Portal, Config, ... (Portal administration) is blocked.

The full dictionary

Page What it covers
Workflow Events The work item lifecycle, step output, Intuitive AI, Custom Event, the legacy worker and scheduled jobs
App Activity Events Upload, Scan, Index, View, Search, Monitor, Insight, the Tasks app, QC and Portal
Configuration Events Workflows, triggers, global variables, Connections, jobs, RPA, upload settings, class builders
Sign-In and Security Events Sign-in, users, groups, catalogs, feature permissions, API tokens
API Call Events The audit event of every public API action
Content Services, RPA and Service Events Content Services audits, the Bot Service, and what the Tasks, Batch and management services do not deliver