Table IWA_NotificationDelivery

Notification Delivery

Columns

Primary Key Name Type Length Precision Can Be Null Default References Action Hints Comment
true NotificationDeliveryId VARCHAR 36 false Unique id of this notification transmission
false NotificationId VARCHAR 36 true IWA_Notification(NotificationId) ON DELETE SET NULL MsSqlServer Id of the notification
false Channel VARCHAR 100 false Channel e.g. 'web' or 'mail'
false ReceiverId VARCHAR 210 false IWA_SecurityMember(SecurityMemberId) ON DELETE SET NULL Receiver of the notification transmission
false DeliveredAt DATETIME true Timestamp when this notification has been delivered
false ReadAt DATETIME true Timestamp when the user has read the notification
false Hide BIT false Whether the notification should be shown or not
false DeliveryState INTEGER false Java Delivery state (PENDING, ERROR, DELIVERED)
false Error VARCHAR 255 true Java Error message in case of error
false ErrorTimeoutTimestamp DATETIME true Time when the notification delivery timeouts and the state is set back from ERROR to PENDING to retry the delivery
false NumberOfErrors INTEGER false Number of time the delivery failed with an error so far

Indexes

Name Columns Hints Comment
IWA_NotificationDelivery_NotificationIdIndex NotificationId
IWA_NotificationDelivery_ChannelIndex Channel
IWA_NotificationDelivery_ReceiverIdIndex ReceiverId
IWA_NotificationDelivery_DeliveredAtIndex DeliveredAt
IWA_NotificationDelivery_ReadAtIndex ReadAt
IWA_NotificationDelivery_HideIndex Hide
IWA_NotificationDelivery_DeliveryStateIndex DeliveryState

Java

Object BusinessClass DbDataClass Enum QueryExecutorProviderClass Truncate
IWA_NotificationDelivery ch.ivyteam.ivy.notification.delivery.NotificationDelivery ch.ivyteam.ivy.notification.internal.db.DbNotificationDeliveryData ch.ivyteam.ivy.notification.delivery.query.impl.NotificationDeliveryQueryExecutorProvider
DeliveryState ch.ivyteam.ivy.notification.delivery.DeliveryState
Error true

Cache

Object Strategy
IWA_NotificationDelivery ALL_REMOVE_UNUSED

MsSqlServer

Object NoReferenceUseTrigger
NotificationId true