AccuCampus: How do I prevent user actions using Tags and Rules?

AccuCampus: How do I prevent user actions using Tags and Rules?

Introduction     

Administrators can create Rules in AccuCampus that trigger when specific actions are taken by users with the correct Tags. As an example, an administrator could create an "Alarm" Tag that stops users from setting up an appointment. These users would then need to get into contact with an administrator to find out how they can remove the flag on their profile. This article explains how to create a Rule that will block users with an "Alarm" Tag from creating appointments.

Step-by-Step

Creating the rule

1. Navigate to  Advanced options > Settings.



2. Select "Rules" from the list.



3. Click Create New or edit an existing rule by selecting it.



Creating the Rule

1. Give the Rule a name and a description that clearly explains what it does.



2. Select "When an appointment is created" as the Trigger, then choose "Tags," "cont" and write "Alarm" for the Conditions.


These choices will make the rule trigger when an appointment is created, and only for users with the "Alarm" Tag assigned to them.


3. Click the Add Action button, select "Stop execution" from the list, write a message that will be visible to the user, then click Save.


This Action stops the user from executing an action and cancels any changes made.  The "Message to display" is there to explain to the user why their attempt was stopped.


4. Review the Rule, then click Save at the bottom of the page.


Test the Rule

Create a User account, mark it with the "Alarm" Tag, and try to join an appointment.  If everything was done correctly, the account should be blocked from joining that appointment. If the user isn't blocked, go back to the beginning of this article and double-check to make sure all the steps were followed correctly.