- 08 Jan 2025
- 4 Minutes to read
- Print
- DarkLight
- PDF
Notification center
- Updated on 08 Jan 2025
- 4 Minutes to read
- Print
- DarkLight
- PDF
Notification center items
Here is a list over all notifications that have been registered per user of the system (done when a user logs in) and are visible if the globe icon in the upper right corner of the web is pressed. These notifications are made so that the logged in user can see info on things related to him f.ex. new external incidents etc. There are some settings that need to be done before users can see those notifications and that is briefly introduced here.
When Are Notification Center Items Created
Notification center items are created at the same time as the record responsible for it is created/updated. Note that all conditions that control if notification center item should be created need to be fulfilled (see the conditions below in Description of The Notification Center Item Types).
Technical description
When a record (responsible for notification center item) is created/updated a function is called that finds all users that should get notifications. This function is run on a thread in the code (so that the user creating the record will not notice slower creation time). This function then creates notification item records for all users that should get them (could be one, many or none).
When The Notification Center Is Populated
In System Configuration>System settings>System settings under “Active notifications” and “Notifications settings” there are some settings that need to set for this to be activated globally on the database. First of all you will have to select which types are active and then there are settings on when to delete read items (and unread). Notification interval setting (in seconds) controls the frequency the system checks how many unread notification center items the logged-in user has (the red number above the globe). When the user presses the globe-icon a web-service is called that fetches all the notification center items of that user and populates the notification center.
Notification Center Item Types
My Work Orders
What Data Module is The Origin?
RequestPlannedCost (in Employee-mode).
When is Notification Pending?
When RequestPlannedCost-record (of the type employee) is created on a work order or Employee is changed on a RequestPlannedCost-record.
How many users get notifications per work order?
The number of employees registered on the work order (not many).
How Are Notifications Turned on/off?
It is either a global setting or a setting per user. Note: The global setting is the precondition so that the user setting will work. For example, if User A, has “My work orders” turned on but “My work orders” are turned off globally then no notifications will be created.
What Users Get Notifications?
“My work orders” have to be turned on globally
The employee on the request planned cost record has to be connected to a user
That user has to have access to the Request-module
If the user has “Use user notification settings” turned on then “My work orders” has to be turned on for that user
My Incidents
What Data Module is The Origin?
Incident (of most types).
When is notification pending
When CurrentEmployeeID on incident is changed.
How Many Users Get Notifications Per Record?
Only one per change of CurrentEmployeeID
How Are Notifications Turned on/off?
It is either a global setting or a setting per user. The global setting is the precondition for the user setting.
What Users Get Notifications?
“My incidents” have to be turned on globally
The “Current employee” on the incident record has to be connected to a user
That user has to have access to the Incident-module
If the user has “Use user notification settings” turned on then “My incidents” has to be turned on for that user
External Incidents
What Data Module is The Origin?
Incident (in all modes).
When is Notification Pending?
When an external incident is created. External incident is defined as an incident that is created by a user that does not belong to a company that is not intern (Company.RelationshipID<>CompanyRelationshipEnum.Intern).
How Many Users Get Notifications Per Record?
The number of users that have service-registrations (in Admin of Grounds) on the ground that the external incident is being created on.
How Are Notifications Turned on/off?
It is either a global setting or a setting per user. The global setting is the precondition for the user setting.
What Users Get Notifications?
“External incidents” have to be turned on globally
The users have to have a service-registration on the ground that the external incident is being created on (i.e. have “access” to that specific ground)
The users have to have access to the Incident-module
If user has “Use user notification settings” turned on then “External incidents” has to be turned on for that user
Pending Standard Tasks
What Data Module is The Origin?
PendingStandardTaskOnGround. The records in in this table are created by an automatic action that calculates the number of pending standard tasks for each ground.
When is Notification Pending?
When an PendingStandardTaskOnGround-record is created or updated. The record is updated if there is a change in the pending standard tasks on the ground. NOTE: If no pending standard tasks on the ground are left then no notification will be created.
How Many Users Get Notifications Per Record?
The number of users that have service-registration on the ground that the PendingStandardTaskOnGround-record is registered on.
How Are Notifications Turned on/off?
It is either a global setting or a setting per user. The global setting is the precondition for the user setting.
What Users Get Notifications?
“Pending standard tasks” have to be turned on globally
The users have to have a service-registration on the ground that the external incident is being created on (i.e. have “access” to that specific ground)
The users have to have access to the “Pending Standard Task Tree” sub-step in the “Operations Process”
If user has “Use user notification settings” turned on then “Pending standard tasks” has to be turned on for that user