Article last updated on the 26th of September, 2023.
Contents
1. Introduction
2. Requirements
3.1. Enabling and configuring the Notification Service
3.1.1. Creating notification profiles
3.1.2. Automatically delete notifications
3.1.3. Customized Adaptive Card layouts
3.3. Notifications in Microsoft Teams
4.1. Viewing notifications in the Express panel
4.2. Viewing notifications in WorkPoint Express
5. Notes
1. Introduction
The Notification Service is used to send notifications to users, e.g. when a new entity has been created, if they have been assigned to an entity or a task, or in general if there is something users should be aware of.
This can be useful in many cases, as it provides an overview of notifications so important information is not overseen in the mail inbox and make it easy for admins and users to configure notifications.
Users can view a list of all their notifications, which are split into four groups: Pending, Overdue, Future, and Completed.
When a user has pending notifications, a small indicator at the Express panel button is displayed:
The indicator shows how many pending notifications the user currently has. The user can open the Express panel, navigate to the Notifications tab, and view their notifications:
2. Requirements
Use of the Notification Service requires that your license includes the feature. Please contact WorkPoint sales at sales@workpoint.dk for more information.
3. Configuration
The process of configuring the Notification Service is split into two sections.
First, the feature is enabled and configured inside the WorkPoint Administration.
Second, the "Create a notification" WorkPoint Automate step is used to create and send notifications to relevant people or groups.
3.1. Enabling and configuring the Notification Service
The Notification Service is enabled and configured in the WorkPoint Administration:
- In the left side menu of the WorkPoint Administration, click "Notification Service".
- In the Notifications Settings page, click the "Enable notification service" button. Performing this step requires term store administrator privileges.
Clicking the button starts a job which provisions a new list called "Notification List" to the root site of the WorkPoint solution. This is where all notifications will be stored.
Provisioning of the list may take some time, but you can safely leave the page and check back later, as mentioned in the message shown once the job is started:
Once the list has been successfully provisioned, the page shows the configurations options for the Notification Service:
Note that the system does not enable the Notification Settings by default. To enable them and start using the service, click the "Enabled" button and save the settings.
3.1.1. Creating notification profiles
Notification profiles are used to define which users are eligible to receive which types of notifications.
Notification types are created as terms in the "WorkPoint 365 Notification Type" term set inside the global "Notification List" term set. This means that you can create your own notification types if necessary.
Note that if a user is a member of a notification profile, they still need to be assigned as a recipient in a "Create a notification" WorkPoint Automate step to actually receive a notification.
To create a new notification profile, follow these steps:
- In the Notification profiles section, click the "Create a new profile" button.
- In the "Name" field, you can provide a name for the new notification profile.
- In the "Target" field, you can select an Active Directory Group for the new notification profile. Depending on which notification types are activated for this profile, the members of this group will receive the specified types of notifications.
- In addition to notifying the members of the Target via notifications inside WorkPoint, the Notification Service can send out e-mails to the recipients. The options are:
- Send immediately: The e-mail notification is sent immediately after the notification is created in the Notification List.
- Send daily: Individual e-mails for each new notification is sent once a day to the members of the target group. You can select a specific delivery time for the e-mails if the option is selected.
- Send weekly: Individual e-mails for each new notification is sent once per week to the members of the target group. You can select a specific week day and delivery time for the e-mails if the option is selected.
Note that if either the "Send daily" or "Send weekly" option is selected, you need to set up a scheduled job of the "Notification Distributor" type. When this job is run, it will evaluate the delivery time and delivery week day. If the time it runs exceeds the time day and delivery time of a notification profile Email schedule, a notification will be sent by e-mail.
Also note that e-mails are only sent for notifications of the types enabled for the notification profile.
- To enable notification types for the new notification profile, click the "Notification Types" tab.
- In the notification types matrix, select which notification types to enable.
- Enable: If enabled, notifications of this type will be sent to the target group members and displayed in the notifications tab in the Express panel and in WorkPoint Express.
- Email: If enabled, notifications of this type will be sent as an e-mail to the target group members (follows Email Schedule in Settings).
- Teams: If enabled, notifications of this type will be sent as notifications for the target group members in Microsoft Teams.
- Locked: If enabled, users will not be able to change the configuration of this notification type in their own notification settings.
- To finish creating the notification profile, click the "Confirm" button.
The new notification profile is displayed in the Notification Settings page:
- Click the "Edit" button to edit an existing notification profile.
3.1.2. Automatically delete notifications
Automatic deletion of notifications can be enabled or disabled in the Notification Settings page:
- Click "Disable" to disable automatic deletion of notifications, or click "Enable" to enable it.
If Automatic deletion of notifications is enabled, the settings are expanded with the following setting:
In the "Retention period in days" field, you can define how many days after a notification was delivered it should be automatically deleted. This value must be greater than or equal to 1.
After a retention period has been set, you need to configure a "Notification Cleanup" scheduled job. This job is going to compare the date the notification was sent to the current day. If the notification is older than retention period in days, and the notification status is "Completed", the job will delete the notification from the Notifications list.
In addition, if automatic deletion of notifications is enabled, you can select whether the system should only delete notifications which have been marked as "Completed":
3.1.3. Customized Adaptive Card layouts
A notification always contain, among other information, a notification title and a notification message.
For notifications delivered in e-mails or Microsoft Teams chat, it is possible to configure how to display the notifications using an Adaptive Cards layout.
First, Customized Adaptive Card layouts must be enabled:
- In the "Customized Adaptive Card layout section, click "Enable".
After Customized Adaptive Card layouts have been enabled, the section is extended with the following settings:
- In the "Template" section, JSON can be provided to define how the notifications should look when delivered via e-mail or Microsoft Teams chat message. You can read more about JSON in this article. You can also check out a handy Adaptive Cards designer here. When the feature is first enabled, WorkPoint provides a default template for you to use, or you can design your own template to use.
- In the "Available variables for use in template" section, you can see all the variables on the Notification List. The keys (e.g. "NotificationMessage" or "SourceEntityTitle") can be used in your template to pull data from the Notification List into the adaptive card.
3.2. Sending a notification
Sending of notifications is done using the "Create a notification" WorkPoint Automate step. In the following example, this step is used in a process which creates client entities and then sends a notification at the end:
This step has the following configurable settings:
- The "Title" property allows you to define the displayed title of the step. This is the title which is shown when the process is run.
- The "Description" field allows you to type a short description of the step. This field is optional, and the description is only shown in the Process Builder.
- The "Name" field contains a unique name for the specific step. It is used to identify the specific step in the process. You can change the name, but it must be unique from other step names.
- Step Input is not used for this step, and should be left blank.
- In the "Notification title" field, you can define the title of the notification you are going to send using this step. An example could be "The client [CreateEntity.Title] has been created.". In that example, the title of the notification will tell the user that a client was created, and it will include the data from the title field of the step named "CreateEntity" from the same process. The notification title is shown at the top of notifications, and in the subject line of notification e-mails.
- In the "Notification type" field, you can select the type of the notification you are going to send using this step. You can select from the available types in your "WorkPoint365 Notification Type" term set. People who have the selected notification type enabled in their notification settings,and whom are also selected as a recipient of this notification (described in pt. 28), will receive the notification.
- In the "Status" field, you can select what the status of the notification should be when delivered. You can select between the following options:
- Unread: The user will receive the notification in the "Unread" status. The user can set the notification to the "Completed" status by checking the notification.
- Action required: If a notification is sent with the "Action required" status, it will be put in the "Pending" notification group of the recipient(s), even if it does not have a deadline defined (described in pt. 24).
- Completed: If a notification is sent with the "Completed" status, it will be put in the "Completed" notification group of the recipient(s).
- In the "Priority" field, you can select a priority level for the notification. This value is only shown in the E-mail notifications sent out using Adaptive Cards.
- In the "Message" field, you can type in a descriptive message to display when the notification is expanded to show more details. Similarly to the "Notification title" field, you can use include data from the context of the current process, e.g. "[CreateEntity.Title]".
- If a date and time is set in the "Deadline" field, the notification will be put into the "Pending" group, and wait for the user to check it as "Completed". If the deadline is exceeded before the notification is marked as "Completed", it will move to the "Overdue" group.
- If a date and time is set in the "Delivery date" field, the notification will be created immediately but it will be placed in the "Future" notification group. Once the date and time comes along, the scheduled "Notification distribution" job will put the notification in the "Pending" group.
- In the "Recipient" field, you can define who should receive the notification being sent by this step. Typically, one or more people from a previous step is taken from the context of the process and used as recipients, e.g. "ItemForm.AssignedTo" or "CreateEntity.wpProjectTeam".
- In the "Duplicate behavior" field, you can define what should happen if multiple notifications of the same notification type is sent and relates to the same entity or item. Options are:
- Create new: Using this option, a new notification is created using the information from this step.
- Update existing: Using this option, the existing notification will be updated with the new information coming from this step.
- In the "Business module" field, select the business module of the entity/item that this step relates to. This can typically be selected from the process context.
- In the "Business module entity" field, select the ID of the entity/item that this step relates to. This can typically be selected from the process context.
- If the notification being sent relates to an item (e.g. a task, document, or risk), you can use the "List" field to define in which list the item is located. If this is set, along with the "Item" field, a button will appear on the notification allowing users to quickly navigate to the relevant item.
- If the notification being sent relates to an item (e.g. a task, document, or risk), you can use the "Item" field to define the ID of the relevant item. If this is set, along with the "List" field, a button will appear on the notification allowing users to quickly navigate to the relevant item.
As previously mentioned, this step is run as part of a WorkPoint process, e.g. when creating new clients or projects, or as reminders for tasks of other items.
3.3. Notifications in Microsoft Teams
In this section, we will discuss how to make WorkPoint notifications appear in the activity feed of Microsoft Teams.
In order for notifications to appear in the activity feed of Microsoft Teams, you need to download and install the WP365 Notifications app manifest from the Notification Settings page:
- In the "Notifications in Microsoft Teams" section of the Notification Settings page, click "Here!" to download the WP365 Notifications app manifest file.
In Microsoft Teams, we can now install the WP365 Notifications app:
- In the left side panel of Microsoft Teams, click the "More added apps" button and click "Get more apps".
- Alternatively, click the "Apps" button if it is available to you.
- In the bottom of the side panel in the Apps page, click "Manage your apps".
- In the "Manage your apps" page, click "Upload an app".
- In the "Upload an app" window, select "Upload a custom app".
- Browse to and select the downloaded WP365 Notifications app manifest file and select "Open".
- In the "WP365 Notifications" window, click the "Add" button.
The WP365 Notifications app is now added to Microsoft Teams, and any already existing notifications can be viewed by opening the app:
Notification profiles which have "Teams" enabled for notification types will also receive notifications in the activity feed of Microsoft Teams:
Accessing the activity feed shows the new notifications:
Please note that if your users have access to, and can receive notifications from multiple WorkPoint solutions in Microsoft Teams, an app must downloaded and installed for all relevant solutions in the way described in this section. This means that if a user has access to both a Project Management solution and an HR solution, and need to be able to receive notifications in Microsoft Teams, one app must be downloaded and installed for both solutions.
4. End User Guide
Notifications can be viewed in the Express panel, in the "Notifications" tab in WorkPoint Express, or in a webpart on a site in WorkPoint in a web browser.
4.1. Viewing notifications in the Express panel
When a notification is received by a user, they can view it in their Express panel:
- The Express panel logo displays how many notifications are in the "Pending" group.
- Notifications can be inspected in the "Notifications" tab.
- Users can filter notifications by notification groups by clicking the group icons to toggle them on and off.
- Based on the active filters, notifications are shown below the group panel.
- Users can access their notification settings by clicking the gear-icon.
4.2. Viewing notifications in WorkPoint Express
- In WorkPoint Express, notifications can be inspected in the "Notifications" tab.
- Users can filter notifications by notification groups by clicking the group icons to toggle them on and off.
- Based on the active filters, notifications are shown below the group panel.
- Users can access their notification settings by clicking "Settings".
4.3. Showing more notification details
Notifications always display the Notification title. To view more information about a notification, follow these steps:
- To view more details about a notification, click "More Details".
The notification expands and displays additional information:
To hide the additional information, click "Collapse".
4.4. Marking a notification as "Completed"
To mark a notification as "Completed" and move it to the "Completed" notification group, follow these steps:
- To mark a notification as Completed, click the completion indicator to the right of the notification.
In this instance, the notification changes from "Pending" to "Completed", and it can not be found in the "Completed" notification group:
5. Notes
It is important to understand that even though people might be members of an Active Directory group which is set as target in a Notification Profile, they will not receive notifications unless they are specified as recipients of a "Create a notification" step in a WorkPoint Automate process.
The Notification Profiles are used to define which types of notifications users are eligible to receive, not necessarily which notifications they will receive.
Comments
0 comments
Article is closed for comments.