AccuCampus: How do I use the Stop Execution rule?

AccuCampus: How do I use the Stop Execution rule?

Introduction

In AccuCampus, Rules are created to execute based on predetermined events, such as:
  1. When a user swipes a card, and the card ID has something specific about it.
  2. When a log is created.
  3. When an appointment is canceled.
After a Rule is triggered, AccuCampus can automatically perform an action, like:
  1. Send a message.
  2. Create a Tag.
  3. Stop an action.
In this case, this article will explain how to use the "Stop Execution" action. This tool forces AccuCampus to stop executing whatever task a user might be undertaking if something isn't right. This could be a missing piece of information or incorrect information. 

This example will create a Stop Execution action that will specifically check to make sure all session logs have their location information. As a trigger (what sets the action off), it's going to use "When a session log is saved," and as a condition (a specific situation for the trigger to go off), it's going to specify "If the Location ID is empty." If this happens, it will then trigger a Stop Execution action and send a message to the user explaining that they need to fill in this missing information before trying to save again.

TIP: The "Stop Execution" action can be used for several different purposes beyond what's described in this article.

Step-By-Step

Creating the Rule

1. Navigate to Advanced Options > Settings.



2. Select the "Rules" module.



3. Click the Create New button or select an existing Rule to edit.



4. Name the Rule and writing a description of what it does.


TIP: Be as specific with the description and the name as possible. This way, other administrators will know exactly what this rule does.


5. Choose "When an attendance log is saved" from the Trigger drop-down menu.



6. For the Trigger, select "Internal ID," "is," and write "?" in the final text box.



7. Click Add Action, select "Stop execution" from the list, then write a message that will be sent to the user and click Save.



8. Click Save at the bottom of the page.


Test the Rule

Create a session log with a location (the Rule shouldn't block its creation) and one without a location (the Rule should block its creation). If the Rule doesn't appear to be working correctly, go back to the beginning of this article and double-check that all the steps were followed correctly.

    • Related Articles

    • How do I set up a stop execution rule in AccuCampus?

      Note: This article explains how to set up a stop execution rule within AccuCampus. Stop execution rules are used when a user should receive a message after being prevented from taking an action within the system. A typical use case would be if a user ...
    • Module 21 - Other Rules in AccuCampus

      Module 21: Other Rules in AccuCampus Topic: Other Rules Parts of Rules Prompt Ratings Rules Debut Information Rules Stop  Execution Rules Rules Within AccuCampus, you are able to create rules that tell the system to complete tasks automatically based ...
    • How do I set up rules in AccuCampus?

      This article explains how to create rules within AccuCampus. Rules are used to automatically trigger actions within the system. They can be used to send notifications, assign or auto-complete action items, add or remove tags, etc. 1. From the Main ...
    • 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. ...
    • Module 17 - Notifications Rules in AccuCampus

      Module 17: Notifications Rules in AccuCampus Topic: Rules (Notifications) Notification Topics Parts of Rules Creating New Rules Rules Within AccuCampus, you are able to create rules that tell the system to complete tasks automatically based on user ...