Notification Service events Overview# In the Notification Service, event triggers are set up which listen to events and determine when to send a notification. This section provides a list of the events which are available to use.
Resource events# Events are linked to resources. The actual type of the resource is indicated by the resource.type property.
The other properties shown for a given resource depend on the type.
Refer to the event listings later in this section for different services, indicating the resource types and the properties which are available.
Event filtering# In an event type trigger, filtering on the properties of an incoming event is supported.
An event filter is of the form:
{ "filter" : { <property...> : <wildcard> } } Copy For example, to match create events from the Item Service, the event filter would look like the code listing below.
{ "filter" : { "event" : "resource.ResourceCreated" , "resource.type" : "itemsvc.*" } } Copy List of events# These sections list the following types of events:
List of resource types# These sections list the following resource types:
Common events# resource.ResourceCreated# A resource created event is emitted when a resource is created.
Property Type uuidUUID resourceuser_idstring timestamptimestamp requestIdstring
Example event# { "event" : "resource.ResourceCreated" , "uuid" : "8f2792c7-b01a-4493-ba5a-d0588a4aad8e" , "resource" : { "type" : "custom.Resource" , ... } "user" : { "id" : "00b82755-b5e6-4c8b-a4cf-66bb4f697f17" } , "requestId" : "abe50236-cf30-435f-b7fc-c05cb8f0f320"
} Copy resource.ResourceUpdated# A resource updated event is emitted when a resource is changed.
Property Type uuidUUID resourceuser_idstring timestamptimestamp requestIdstring
Example event# { "event" : "resource.ResourceUpdated" , "uuid" : "8f2792c7-b01a-4493-ba5a-d0588a4aad8e" , "resource" : { "type" : "custom.Resource" , ... } "user" : { "id" : "00b82755-b5e6-4c8b-a4cf-66bb4f697f17" } , "requestId" : "abe50236-cf30-435f-b7fc-c05cb8f0f320"
} Copy resource.ResourceSoftDeleted# A resource soft deleted event is emitted if a resource is marked for deletion but not yet permanently deleted.
Typically, a resource.ResourceHardDeleted event will follow a resource.ResourceSoftDeleted event. However, not all services support soft delete and in this case, only a resource.ResourceHardDeleted is emitted.
Property Type uuidUUID resourceuser_idstring timestamptimestamp requestIdstring
Example event# { "event" : "resource.ResourceSoftDeleted" , "uuid" : "8f2792c7-b01a-4493-ba5a-d0588a4aad8e" , "resource" : { "type" : "custom.Resource" , ... } "user" : { "id" : "00b82755-b5e6-4c8b-a4cf-66bb4f697f17" } , "requestId" : "abe50236-cf30-435f-b7fc-c05cb8f0f320"
} Copy resource.ResourceHardDeleted# A resource hard deleted event is emitted if a resource is deleted permanently. This means is it either deleted with ?purge=true or otherwise deleted in a way that means it cannot be recovered.
Property Type uuidUUID resourceuser_idstring timestamptimestamp requestIdstring
Example event# { "event" : "resource.ResourceHardDeleted" , "uuid" : "8f2792c7-b01a-4493-ba5a-d0588a4aad8e" , "resource" : { "type" : "custom.Resource" , ... } "user" : { "id" : "00b82755-b5e6-4c8b-a4cf-66bb4f697f17" } , "requestId" : "abe50236-cf30-435f-b7fc-c05cb8f0f320"
} Copy Passport Service events# passportsvc.Login# A login event is emitted when a user logs into the Passport Service. This type of event is only emitted when a login is initiated through a user interface, for example, through a web page. It does not occur for requests that are only authenticated as a particular user.
Property Type uuidstring user_idstring timestamptimestamp requestIdstring
Example event# { "event" : "passportsvc.Login" , "uuid" : "8f2792c7-b01a-4493-ba5a-d0588a4aad8e" , "user" : { "id" : "00b82755-b5e6-4c8b-a4cf-66bb4f697f17" } , "requestId" : "abe50236-cf30-435f-b7fc-c05cb8f0f320"
} Copy passportsvc.Logout# A logout event is emitted when a user logs outs of the Passport Service, for example, by clicking logout in the console.
Property Type uuidstring user_idstring timestamptimestamp requestIdstring
Example event# { "event" : "passportsvc.Logout" , "uuid" : "8f2792c7-b01a-4493-ba5a-d0588a4aad8e" , "user" : { "id" : "00b82755-b5e6-4c8b-a4cf-66bb4f697f17" } , "requestId" : "abe50236-cf30-435f-b7fc-c05cb8f0f320"
} Copy Workflow Service events# workflowsvc.UserInput# A user input event is emitted from a workflow at the point where a workflow requires user input.
This could be used to send a notification to the user that indicates they need to provide input in order to continue the workflow.
Property Type uuidstring namespacesstring[] notificationIdstring urlstring inputParamsmap requestIdstring timestamptimestamp
Example event# { "event" : "workflowsvc.UserInput" , "uuid" : "8f2792c7-b01a-4493-ba5a-d0588a4aad8e" , "notificationId" : "00b82755-b5e6-4c8b-a4cf-66bb4f697f17" , "url" : "http://example.com" , "inputParams" : { "some" : "value" , "other" : 1 } , "requestId" : "abe50236-cf30-435f-b7fc-c05cb8f0f320" } Copy Resource types# Passport Service resource types# passportsvc.Application# Object Property Type resourceidstring namespacesstring[] organizationIdstring organizationNamespacesstring[] configsmap beforenamestring descriptionstring userTypestring shortNamestring namespacesstring[] configsmap appOwnerstring afternamestring descriptionstring userTypestring shortNamestring namespacesstring[] configsmap appOwnerstring
passportsvc.Namespace# Object Property Type resourceidstring namespacesstring[] beforenamespacesstring[] afternamespacesstring[]
passportsvc.Organization# Object Property Type resourceidstring namespacesstring[] beforenamestring descriptionstring userTypestring shortNamestring namespacesstring[] orgOwnerstring afternamestring descriptionstring userTypestring shortNamestring namespacesstring[] orgOwnerstring
passportsvc.Workspace# Object Property Type resourceidstring namespacesstring[] appIdstring applicationNamespacesstring[] beforenamestring descriptionstring userTypestring shortNamestring namespacesstring[] appIdstring afternamestring descriptionstring userTypestring shortNamestring namespacesstring[] appIdstring
passportsvc.UserGroup# Object Property Type resourceidstring namespacesstring[] appIdstring orgIdstring applicationNamespacesstring[] beforenamestring descriptionstring userTypestring shortNamestring namespacesstring[] appIdstring orgIdstring afternamestring descriptionstring userTypestring shortNamestring namespacesstring[] appIdstring orgIdstring
passportsvc.User# Object Property Type resourceidstring beforefirstNamestring lastNamestring emailstring eusaboolean privacyboolean disabledboolean notificationConfiguredboolean afterfirstNamestring lastNamestring emailstring eusaboolean privacyboolean disabledboolean notificationConfiguredboolean
passportsvc.ApiKey# Object Property Type resourceidstring userstring namespacestring beforenamestring expiryDateTimetimestamp revokedboolean revokedBystring revokedDateTimetimestamp afternamestring expiryDateTimetimestamp revokedboolean revokedBystring revokedDateTimetimestamp
File Service resource types# filesvc.File# Object Property Type resourceidstring namespacesstring[] fileTypestring beforenamestring parentsstring[] namespacesstring[] fileTypestring statusstring tagsstring[] tipVersioninteger afternamestring parentsstring[] namespacesstring[] fileTypestring statusstring tagsstring[] tipVersioninteger
filesvc.FileVersion# Object Property Type resourceidstring namespacesstring[] fileTypestring fieldstring versioninteger beforenamestring fieldstring versioninteger parentsstring[] namespacesstring[] fileTypestring statusstring tagsstring[] sizeinteger afternamestring fieldstring versioninteger parentsstring[] namespacesstring[] fileTypestring statusstring tagsstring[] sizeinteger
Item Service resource types# itemsvc.NamedCompositeItem# Object Property Type resourceidstring namespacesstring[] userItemidstring beforenamestring descriptionstring userTypestring shortNamestring itemClassstring kindstring namespacesstring[] tipVersioninteger afternamestring descriptionstring userTypestring shortNamestring itemClassstring kindstring namespacesstring[] tipVersioninteger
itemsvc.NamedCompositeItemVersion# Object Property Type resourceidstring namespacesstring[] userItemDbldstring userItemIdstring versioninteger beforenamespacesstring[] userItemDbldstring userItemIdstring userTypestring shortNamestring itemClassstring kindstring namespacesstring[] tipVersioninteger afternamespacesstring[] userItemDbldstring userItemIdstring userTypestring shortNamestring itemClassstring kindstring namespacesstring[] tipVersioninteger
itemsvc.NamedTelemetryCollectionVersion# Object Property Type resourceidstring namespacesstring[] userItemDbldstring userItemIdstring versioninteger beforenamespacesstring[] userItemDbldstring userItemIdstring itemClassstring versioninteger afternamespacesstring[] userItemDbldstring userItemIdstring itemClassstring versioninteger
itemsvc.NamedUserCollection# Object Property Type resourceidstring namespacesstring[] userItemIdstring beforenamestring descriptionstring userTypestring shortNamestring itemClassstring kindstring namespacesstring[] tipversioninteger afternamestring descriptionstring userTypestring shortNamestring itemClassstring kindstring namespacesstring[] tipversioninteger
itemsvc.NamedUserCollectionVersion# Object Property Type resourceidstring namespacesstring[] userItemDbIdstring userItemIdstring versioninteger beforenamespacesstring[] userItemDbldstring userItemIdstring itemClassstring versioninteger afternamespacesstring[] userItemDbldstring userItemIdstring itemClassstring versioninteger
itemsvc.SchemaDefinition# Object Property Type resourceidstring namespacesstring[] beforenamestring descriptionstring userTypestring shortNamestring definitionstring namespacesstring[] afternamestring descriptionstring userTypestring shortNamestring definitionstring namespacesstring[]
itemsvc.Script# Object Property Type resourceidstring namespacesstring[] userItemIdstring beforenamestring descriptionstring userTypestring shortNamestring itemClassstring kindstring namespacesstring[] tipVersioninteger afternamestring descriptionstring userTypestring shortNamestring itemClassstring kindstring namespacesstring[] tipVersioninteger
itemsvc.ScriptVersion# Object Property Type resourceidstring namespacesstring[] userItemDbIdstring userItemIdstring versioninteger beforenamespacesstring[] userItemDbIdstring userItemIdstring itemClassstring versioninteger afternamespacesstring[] userItemDbIdstring userItemIdstring itemClassstring versioninteger
itemsvc.UserConfig# Object Property Type resourceidstring namespacesstring[] userItemIdstring beforenamestring descriptionstring userTypestring shortNamestring itemClassstring kindstring namespacesstring[] tipVersioninteger afternamestring descriptionstring userTypestring shortNamestring itemClassstring kindstring namespacesstring[] tipVersioninteger
itemsvc.UserConfigVersion# Object Property Type resourceidstring namespacesstring[] userItemDbIdstring userItemIdstring versioninteger beforenamespacesstring[] userItemDbIdstring userItemIdstring itemClassstring versioninteger afternamespacesstring[] userItemDbIdstring userItemIdstring itemClassstring versioninteger
Object Model Service resource types# omapisvc.APIConfig# Object Property Type resourceidstring namespacesstring[] beforenamestring descriptionstring afternamestring descriptionstring
Example:
{ "event" : "resource.ResourceUpdated" , "resource" : { "type" : "omapisvc.APIConfig" , "namespaces" : [ "X" ] , "before" : { "name" : "old name" , ... } , "after" : { "name" : "new name" , ... } , ... } , ... }
Copy Datasources Service resource types# datasources.Orchestrator# Object Property Type resourceidstring namespacesstring[] beforenamestring userTypestring orchestratorClassstring afternamestring userTypestring orchestratorClassstring
Example:
{ "event" : "resource.ResourceUpdated" , "resource" : { "type" : "datasources.Orchestrator" , "namespaces" : [ "X" ] , "before" : { "name" : "X" , ... } , "after" : { "name" : "Y" , ... } , ... } , ... }
Copy datasources.OrchestratorRun# Object Property Type resourceidstring namespacesstring[] orchestratorIdstring beforenamespacesstring[] orchestratorIdstring statusstring afternamespacesstring[] orchestratorIdstring statusstring
Example:
{ "event" : "resource.ResourceUpdated" , "resource" : { "type" : "datasources.OrchestratorRun" , "namespaces" : [ "X" ] , "orchestratorId" : "68a15d18-620c-4672-9e39-34106ed50b08" "before" : { "status" : "RUNNING" , ... } , "after" : { "status" : "COMPLETED" , ... } , ... } , ... }
Copy datasources.OrchestratorSchedule# Object Property Type resourceidstring namespacesstring[] orchestratorIdstring beforenamespacesstring[] orchestratorIdstring runintervalstring afternamespacesstring[] orchestratorIdstring runintervalstring
Example:
{ "event" : "resource.ResourceUpdated" , "resource" : { "type" : "datasources.OrchestratorSchedule" , "namespaces" : [ "X" ] , "orchestratorId" : "68a15d18-620c-4672-9e39-34106ed50b08" , "before" : { "runinterval" : "* * * 0" , ... } , "after" : { "runinterval" : "* * * 1" , ... } , ... } , ... }
Copy AI Service resource types# aisvc.Agent# Object Property Type resourceidstring namespacesstring[] beforenamespacesstring[] namestring descriptionstring backgroundstring user_typestring typestring configobject toolsstring[] knowledgebasesstring[] agent_classstring afternamespacesstring[] namestring descriptionstring backgroundstring user_typestring typestring configobject toolsstring[] knowledgebasesstring[] agent_classstring
aisvc.Team# Object Property Type resourceidstring namespacesstring[] beforenamespacesstring[] namestring agentsarray flowarray permissionProfileIdstring afternamespacesstring[] namestring agentsarray flowarray permissionProfileIdstring
aisvc.Tool# Object Property Type resourceidstring namespacesstring[] beforenamespacesstring[] namestring descriptionstring user_typestring tool_classstring typestring afternamespacesstring[] namestring descriptionstring user_typestring tool_classstring typestring
aisvc.KnowledgeBase# Object Property Type resourceidstring namespacesstring[] beforenamespacesstring[] user_typestring namestring vectorized_statusstring file_idstring file_version_idstring afternamespacesstring[] user_typestring namestring vectorized_statusstring file_idstring file_version_idstring
aisvc.McpTool# Object Property Type resourceidstring namespacesstring[] beforenamespacesstring[] namestring descriptionstring scriptobject schemaobject afternamespacesstring[] namestring descriptionstring scriptobject schemaobject
aisvc.McpToolFilter# Object Property Type resourceidstring namespacesstring[] beforenamespacesstring[] namestring descriptionstring user_typestring criteriaobject afternamespacesstring[] namestring descriptionstring user_typestring criteriaobject
aisvc.ExternalMcpServerConfig# Object Property Type resourceidstring namespacesstring[] beforenamespacesstring[] namestring descriptionstring user_typestring transportstring connectionobject afternamespacesstring[] namestring descriptionstring user_typestring transportstring connectionobject
Workflow Service resource types# workflowsvc.Workflow# Object Property Type resourceidstring before_idUUID _workflowDefIdUUID _namestring _descriptionstring _namespacesstring[] _userTypestring _statusstring _durationnumber after_idUUID _workflowDefIdUUID _namestring _descriptionstring _namespacesstring[] _userTypestring _statusstring _durationnumber
workflowsvc.WorkflowDef# Object Property Type resourceidstring before_idUUID _namestring _descriptionstring _namespacesstring[] _userTypestring after_idUUID _namestring _descriptionstring _namespacesstring[] _userTypestring
workflowsvc.WorkflowCompleted# Object Property Type resourceidstring after (typical)_idUUID _workflowDefIdUUID _namestring _descriptionstring _namespacesstring[] _userTypestring _statusstring _durationnumber
workflowsvc.Task# Object Property Type resourceidstring after (typical)_idUUID _workflowIdUUID _namestring _descriptionstring _namespacesstring[] _taskTypestring _statusstring _durationnumber
workflowsvc.WorkflowSchedule# Object Property Type resourceidstring (job key) before_namespacesstring[] _workflowDefIdUUID _workflowDefNamestring _jobKeystring after_namespacesstring[] _workflowDefIdUUID _workflowDefNamestring _jobKeystring