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
Scopeslist, 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) orStringProperties(Elastic). Every event also has the envelope described in Events and the Secondary Event Provider:EventId,OccurredTime,MachineId, and for work item eventsWorkItemId,WorkItemRootId,ProcessId,ProcessVersion,StepId,WorkType. - Failures Most app events have a twin with
exceptioninserted before the last scope and a propertyexception. Some useerror, and a few reuse the success scopes with only anerrororExceptionproperty. 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¶
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
DurationMsand, on failure,IndexedEventStatusError anderror(the exception text).WorkTypenames the step type,StepIdthe 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.
IndexedEventStatusstays Event (the scope is capital EError), 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
ReleaseHoldhasholdReleaser,holdReleaseInfo(JSON),holdReleaseReason(HoldExpiredorManuallyReleased). - 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,numPagesornumFiles. - Default filter passes.
KWorker, update, ExtractText
- Meaning OCR finished for the work item.
- Properties
ocrdPageCount,ocrEngine(AzAzure OCR,NuNuance). - 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(ZeroShotorAutoExtractionPlugin),promptTokens,completionTokens,totalTokens(numeric strings),exceededTokenLimit,wasBatched, andmodel(zero-shot) orinstance(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, sometimesJsonDataBucket. - 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, LoginWithUsernameAndPasswordandapps, security, login, LoginUsingOAuth - Meaning A user signed in.
- Properties
catalogId,userToken,sessionid(hashed), andusernamefor a password sign-in. - Failures
apps, security, login, exception, {method}withexception=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,
parameterswith 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}andapps, openapi, invoke, error, {Method} - Meaning One API call succeeded or failed.
- Properties
tokenName(the token's user),methodName, the request's main ids,errorMessageorexceptionon failure, andDurationMsfor many actions. - Default filter passes. The work item, Jobs and RPA actions use
workiteminstead ofinvoke. See API Call Events.
Jobs¶
processing, job, start / stop / error, ExecuteJob
- Scopes
processing, job, start, ExecuteJob,processing, job, stop, ExecuteJobandprocessing, 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, andexceptionon error. - Default filter passes.
jobInstanceIDis the id thatV1_JobsAPI/ResubmitJobtakes. See Find and resubmit failed jobs.
RPA¶
botServices, consumption, finishBotAutomation
- Meaning An RPA job finished: the RPA consumption record.
- Properties
RPATaskId,Status(Complete,CancelledorError). - Default filter passes.
apps, Monitor, Rpa, {action}
- Meaning A user cancelled, held, released or resubmitted RPA jobs in Monitor.
- Properties
JobIdorJobId_{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,GetRecordByIdand others. - Properties
User,ResourceName,ElapsedMillis, and storage keys such asRecordId. - Default filter passes.
SearchandGetRecordByIdare 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 |
Related¶
- Events and the Secondary Event Provider: set up a provider, the filter, the document shape and delivery.
- Custom Event step
- Jobs, RPA and Monitoring API