Skip to main content

User notifications

Introduction to user notifications

Universal GUI main administrator application administrator group administrator group owner user administrator

Depending on your rights, you can send a notification to all the users within a tenant, application, or user group, or the subset of users you are responsible for.

Notifications can be sent to users in the following ways:

In-app notifications

main administrator application administrator group administrator group owner user administrator

To send an in-app notification:

menu Authorization > Tenants/Applications/User groups/Users

  1. Select a Tenant/Application/User group/User.
  2. Execute the task Add notification for [all users/all user group users/user] .
  3. Select the Notification type: In-app notification.
  4. Add the Text you want to send.
  5. Optional. Enter an Expires on date and time. This determines when the notification expires.

Notifications are sent to the specified users as soon as they are logged in or, if they are already logged in, when they interact with the GUI.

tip

IAM uses the following system flow for deleting sent or expired notifications: system_flow_clean_usr_notification. For more information about viewing and managing this system flow, see Create a custom schedule for an IAM system flow.

Push notifications

Universal GUI

Push notifications are useful for sending timely and relevant information to users, such as notifying them about important updates or events.

The following applies for push notifications:

  • Users can receive push notifications when they are not actively using the application.
  • A push notification may take up to a minute to arrive.
  • Push notifications are only displayed for a short period of time, depending on the device and operating system.
  • On some platforms, notifications are only delivered while the browser or app is running. If closed or offline, notifications will appear the next time a user opens the browser or app.
  • If a notification’s expiration time has passed, it will not be shown to the user. For example, if the browser is offline on a ship when a notification is sent, the notification can still be shown once the browser reconnects. But if it expires before that moment, the user will not see it.
  • When a user selects a push notification, and if the notification contains a Deep link URL, the application opens at that URL. If the application is already open, the application is brought to the foreground.

Prerequisites

  • Configure Indicium and add an email address to IAM.
  • The user interface must be able to run in an environment that supports push notifications (see MDN Push API browser compatibility).
  • The user interface must be connected to the internet.
  • On iOS devices, the application must be installed as a Progressive Web App (PWA) on the device.
  • Users must subscribe to and allow push notifications on the same device where the application is installed.
    • Only users with an active push notification subscription receive the notification.
    • If a user has no active subscription, the notification is sent once a subscription is registered or reactivated.
  • For more information about the supported browsers, see the Lifecycle policy.
    • For Chrome, the browser must be open to receive push notifications. The application does not need to be open.
    • For Edge, the browser can be closed to receive push notifications.
warning
  • Do not include sensitive information in notifications, since they may appear on the screen and be accessible without authentication.

Set up push notifications in a process flow

Universal GUI

You can set up a process flow to send push notifications to users based on specific triggers or events. A push notification is automatically sent when the process flow is triggered and executed. A use case for this is notifying users when a purchase invoice is processed and requires their approval.

To set up push notifications in a process flow:

  1. Create a process flow.
  2. Add the process action Send user notification to your process flow.
  3. Complete the following input parameters in the tab Input:
    • Notification title - the title of the notification.
    • Notification text - the message you want to send.
  4. Optional. Complete the following input parameters:
    • User ID of the recipient.
    • Expiry date time (UTC) - the date and time when the notification expires.
    • Deep link URL - determines where the user is directed when they select the notification. For more information, see Deep link URLs for push notifications.
    • Icon URL - link to an icon that is shown in the notification. Note that the icon must be publicly hosted. When you do not provide an icon URL, the PWA application icon or browser icon is used instead.
  5. Go to Process actions > tab Input and set the Notification type to Push notification.

Example process flow for sending push notifications

Send an ad-hoc push notification

Universal GUI main administrator user administrator

Ad-hoc notifications are useful to send urgent or important messages to users. You can use these to send one-time notifications and alerts to specific users, user groups, applications, or tenants. For example, you can notify users about scheduled maintenance or unexpected downtime. Users must have an active push notification subscription to receive the notification. For more information, see Subscribe/unsubscribe to push notifications.

To send an ad-hoc push notification:

menu Authorization > Tenants/Applications/User groups/Users

  1. Select a Tenant/Application/User group/User.
  2. Execute the task Add notification for [all users/all user group users/user] .
  3. Select the Notification type: Push notification.
  4. Complete the following fields:
    • Notification title
    • Text
  5. Optional. Complete the following fields:
    • Expires on - date and time when the notification expires.
    • Deep link URL - determines where the user is directed when they select the notification. For more information, see Deep link URLs for push notifications.
    • Icon URL - link to an icon that is shown in the notification. Note that the icon must be publicly hosted. When you do not provide an icon URL, the PWA application icon or browser icon is used instead.

Add an ad-hoc push notification

We recommend using a deep link URL that leads the user to the source of the information shared in the notification. For more information about supported routes and deep link formats, see HTML Control.

  • You can use a relative path (for example, #application=1234 or /#application=1234) that is appended to the application’s origin.
  • You can use an absolute URL (for example, https://example.thinkwise.app/#application=1234).
  • If you do not add a deep link, the user will be taken to the application's origin.
  • A deep link can point to an internal application route or an external URL (for example, https://developer.mozilla.org/en-US/).

Notification email

main administrator application administrator group administrator group owner user administrator

You can use a notification email to send notifications, confirmations, reminders, or alerts to users. For example, you can send a notification email about upcoming maintenance or to a specific user regarding their account. You can only email users with a registered email address in IAM.

You can also set this up for tenants, which is useful for sending notifications to all users in a tenant. For more information on tenants, see Notification emails for tenants.

1. Configure an email provider

main administrator

To send notification emails, you must first set up an email provider for IAM.

See Email providers.

2. Configure a template

main administrator

To send email notifications, you need to configure an email template. If you configured a template in the user's preferred language, they will receive it in that language. If not, IAM uses the template that you marked as default (see step 4).

To configure a template for your notification email:

menu Settings > Global settings > tab Email templates > tab Notification email templates

  1. Enter a Template name.

  2. In the tab Configurations, select the Notification email template.

  3. Select a Language.

  4. Optional: If you want this to be your default template, select the Default template box.

  5. Enter a Title and Email body.

    tip

    You can use email body parameters to add user-specific details in your email body.

A template for a notification email

3. Send a notification email

main administrator application administrator group administrator group owner user administrator

To send an email notification:

menu Authorization > Tenants/Applications/User groups/Users

  1. Start the task Add notifications .
  2. Select the Notification type: Email notification.
  3. Select an Email template. A preview is available. You can only edit it by changing the template. See Configure a template.

IAM checks the notification queue every 10 seconds. If an email notification has been added, it will be sent.

tip

IAM uses the following system flows:

  • For checking and sending email notifications: system_flow_send_email_notification.
  • For deleting sent or expired notifications: system_flow_clean_usr_notification.

For more information about viewing and managing these system flows, see Create a custom schedule for an IAM system flow.

Add an email notification

System emails

Indicium main administrator

A system email is an automated message that is sent by Indicium when a certain requirement is triggered. System emails are typically used to send notifications, confirmations, reminders or alerts. For example, when a user's Personal Access Token is about to expire, Indicium sends out a system email that notifies the user.

Configure a system email template

main administrator

You can customize the default system email templates. If you have set up templates in different languages, the user will receive the system email in their preferred language. If not, Indicium uses the template that you marked as Default template.

To configure a system email template:

menu Settings > Global settings > tab Email templates > tab System email templates > tab System email template

  1. Set up an email provider.

  2. Ensure the user is correctly set up and their email address is configured. For more information, see Add users.

  3. Select an E-mail template. The following templates are available:

    • Password reset - template for if a user needs to set up a password or reset their password. See Login and password for more information on setting up login details.
    • Two factor token - template for if a user needs to log in with two-factor authentication. See Two-factor authentication for more information on setting up two-factor authentication.
    • Personal access token expires - template for if a users' PAT token is about to expire. See Set up notifications for a PAT for more information on setting up notifications for PATs.
  4. Select a Language.

  5. Optional. To set this template as default, select the checkbox Default template. You must always select a default system email template. If a template for the user's preferred language does not exist, Indicium will use the default template.

  6. Complete the fields Title and Email body.

  7. Optional. You can enter the sender's name (From name) and email address (From address) in the menu Settings > Global settings > tab Email providers.

Tips
  • You can use email body parameters to add user-specific details in your system email body.
  • You can delete templates that you do not need. For example, if you do not want to specify or maintain a template for each language, you can delete all other languages and only keep a default language.

email templates Setting up a system email for two-factor authentication

Email body parameters

You can personalize the email body with parameters. See the table below for the available options.

For example you can use the parameters {first_name} and {sur_name} as Dear {first_name} {sur_name}. The parameters will be completed with the users' first name and surname. If this information for a parameter is not available it will be left empty.

ParameterDescriptionAvailability
{token_name}Adds the user's PAT namePersonal access token expires template only
{first_name}Adds the user's first nameAll templates
{sur_name}Adds the user's surnameAll templates
{resetToken}Contains the reset token for password resetPassword reset template only
{twoFactorToken}Contains the two-factor authentication token for loginTwo factor token template only
{url}Full URL to reset password or 2FA page with query strings filled inRelevant to password reset and 2FA. If Indicium is hosted with two or more different domains, the {url} parameter will return to the domain from which it was called.

Notification overview

main administrator application administrator group administrator group owner user administrator

For an overview of all the notifications:

menu Analysis > Notifications > tab Notifications

  • Pending notifications remain visible until they have been shown to the user or until their expiration date.
  • You can set the number of expired or sent notifications that should remain visible in the menu Settings > Global settings > group User > field Notification retention (items). Deselect the prefilter Pending pending to see them.
  • Here, you can only add, edit, and delete the notifications without a system flow. System flow notifications can only be configured and changed in the Software Factory. See System flow notifications.

notifications Example notification


Was this article helpful?