Skip to content

How to trigger bulk events messages

Franck edited this page Aug 14, 2019 · 4 revisions

Important background information:

Some Unee-T user roles automatically grant access to several properties in one single click.

These user roles are defined via the Unee-T Enterprise interface. For example, most organizations will define a user role "Country Manager" and will configure this role to automatically grant access to every property for a given country.

We can use this functionality to trigger mass assignation events and generate a lot of association user/unit in a short period. This mechanism is useful to do load testing, for instance.

How it's done:

Option 1 - Pick an existing user:

  1. Delete all permission for that user (this triggers a mass de-assign event),
  2. Switch from the current user role (example "Country Management") to the special user role " Reset Permission"
  3. Switch from the special user role "Reset Permission" back to the initial role for the user you picked (example: "Country management"). This operation will trigger a mass assign event IF the user you picked in Step 2 is a role that automatically assigns properties to users based on their role.

Option 2 - Create a new user:

  1. Create a brand new user.
  2. Pick a role that has been configured to automatically assigned a role to several properties (for example "Country Manager" if this role exists). This operation will also trigger a mass assign event for this newly created user.

Option 3 - Create a new property:

Create a brand new property.

IF the property meets the criteria that the organization defined to automatically assign users to new units then a mass assignment event will automatically be created as soon as UNTE receives confirmation that the unit has been created in Unee-T.

Example:

  • The organization has created the role "Facilities Manager" for the country "Singapore"
  • There are several users with the role "Facilities Manager" in the country "Singapore" for that organization.
  • If you create a new property for that organization in the country "Singapore" then all the users in the role "Facilities Manager" for the country "Singapore" in that organization will automatically be given a role in that property <--- This also creates a mass assign event.

Clone this wiki locally