Managing system notification policies
You create system notification policies to determine to which users a system notification is distributed. By creating a system notification policy, you can customize the pool of users or groups of users that receive the notification on their mobile devices.
By default, a system notification policy establishes the recipients of the notification according to the User and User groups fields in the system notification setting. You can further customize the list of recipients by using custom properties.
Customizing system notification policies using custom properties
You can create custom properties and use them to customize system notification policies.
To use a custom property with a system notification policy, you must:
-
Create a custom property and apply it to the following resources: Users, System notifications.
- Assign the custom property to the users you want to distribute the notification to.
- Assign the custom property to the system notification.
-
Create a new system notification policy and set it to distribute the notification according the custom property.
The following example describes how to use custom properties to create system notification distribution groups.
Example: Create a distribution group by using a custom property
As an administrator you need to send notifications to a 'Quality improvement virtual team' that is not part of the user groups list. The Users groups list is defined by the company's directory and imported in Qlik Sense. Instead of requesting the creation of a new Quality improvement virtual team group in the company's directory, you can create a new custom property and use it in combination with system notification policies to define the users part of the Quality improvement virtual team.
Creating a custom property
Do the following:
- In the QMC, navigate to Custom properties.
- Select Create new.
- Name the custom property virtual_team.
- Under Resource types, select System notifications and Users.
- Under Values, select Create new.
- Enter the value: quality_improvement.
- Select Apply.
Assigning the custom property to selected users
Do the following:
- In the QMC, navigate to Users.
- Select the users part of the Quality improvement virtual team from the list or search for users by clicking the search icon.
- Click Edit to edit the selected users.
- Under Custom properties, assign the virtual_team property and set the value quality_improvement.
- Select Apply.
Assigning the custom property to a system notification
Do the following:
- In the QMC, navigate to System notifications.
- Select the system notification you want to assign the custom property to. Alternatively, create a new system notification.
- Click Edit to edit the selected user.
- Under Custom properties, assign the virtual_team property and set the value quality_improvement.
- Select Apply.
Set the custom property as distribution rule for a system notification policy
Do the following:
- In the QMC, navigate to System notification policies.
- Select Create new.
-
In the Conditions box, the Advance section is automatically filled with the following syntax:
((subject.targetGroups=resource.group))
Where:
- subject is a system notification.
- targetGroups is the property on system notifications that defines which group of users receives the notification.
- resource is defined by the resource filter which in system notification policies is: User_*
resource.group therefore defines the groups the user belongs to.
-
Replace the auto-filled syntax with the string that specifies the required custom property:
((subject.@virtual_team=resource.@virtual_team))
- Click Validate rule. The rule syntax is checked, and, if valid, a confirmation is displayed.
- Select Apply.