11.4.6. Rules

Note: This feature is only available in the Enterprise Edition of OfficeClip.

Administrators can set rules for contacts to trigger certain events based on conditions of the contacts. Rules have the following components:

  1. Conditions: Certain conditions need to be satisfied to trigger a rule.

  2. Actions: The actions are taken when a condition is satisfied.

There are three kinds of rules in Contact Manager:

11.4.6.1. On Screen Fields

These rules change the fields on the New Contact or Edit Contact screen based on some other fields. For example, it can change the contact country automatically when the contact state is selected or changed.

To setup rules in the On Screen Fields:

  1. Click CRM > Contacts > Admin > Rules

  2. By default, there are no rules listed. To create a rule, click the Add Rule button in the On Screen Fields section. If you want to edit a rule, click the icon, or to remove a rule completely click the icon. To run a rule that is not active click the icon or, to run all existing rules, click the Run All Rules link.

  1. Clicking Add Rule brings up a new window. You can choose to add conditions by clicking the Add link. This will bring up corresponding fields to fill in according to the conditions you need.

For example:

  • If you enter, if the field is Country, value is changed to India.

  • Select a condition, (Test if a field value is empty or Test if a field value is duplicated). Here, we have selected the first condition and then click on

    Add Condition. Here, we can enter the condition: If the field City is empty, and then click Next to continue or Cancel to exit.

  • On the next screen, we can select the actions (set a fixed value, set same value for the previous contact, show a warning to the user) Here, we have selected set a fixed value and click Add Actions. We have Set field City to Pune. Click Next.

  • On the next screen, we can see the Rule set and we have entered the rule Name as MH. The Enabled check box is automatically selected, which means the rule will be active. To make the rule inactive, uncheck the box. Click Save Rule when finished, Previous to go back, or Cancel to exit without saving the rule.

  • Now, we can see that whenever we enter India as the Country for a new contact, Pune automatically displays as the name of the City.

11.4.6.2. Workflow Rules

Workflow rules allow certain actions to be performed automatically based on an event. For example, an email can be automatically sent to a contact a week after entry in the database. Sometimes this is also called Drip Marketing.

To setup rules in the Workflow:

  1. Click CRM > Contacts > Admin > Rules.

  2. By default, there are no rules listed. To create a rule, click the Add Rule button in the Workflow section. If you want to edit a rule click the icon, or to remove a rule completely click the icon. To run a rule that is not active click the icon or, to run all existing rules, click the Run All Rules link.

  3. Clicking Add Rule brings up a new window. You can choose to add conditions by clicking the Add link. This will bring up corresponding fields to fill in according to the conditions you need.

For example:

  1. Select a Condition: There are two possible conditions to be matched:

    1. If a list field matches an item: Match this condition when you know the value of a contact field that is a drop-down list.

    2. If a field has a text value: Match this condition when you want to match a value of the contact field that is in a free form text box

  2. Depending on this value, select a condition from the bottom part of the screen and click the Next button.

  1. On the next screen you can select the action field. The action field is activated when a new contact is entered and the condition matches the one you just defined in the previous page. Various actions are supported:

    1. Create a New Task: This action creates a new OfficeClip task.

    2. Create a New Event: This action creates a new OfficeClip calendar event.

    3. Send a Campaign: this action sends a campaign to the email address of the contact just entered. This feature is useful if you want to send multiple emails to the contact periodically.

    4. Add to daily Call List: The contact is entered into the daily call list. OfficeClip users can use the daily call list to call the contacts periodically,

  2. Set the parameters for the action (for example, the number of days until the action should take place) and click on the Next button.

  1. Now save the Rule by giving it a name and clicking on the Save button.

11.4.6.3. Access Rules

Access Rules are used to allow or restrict access to contacts when various conditions are met. For example, if the administrator wants all contacts with a certain company to be able to be accessed by all users, he/she can set up the condition: If field Company Name value is OfficeClip, give Read, Write, Append, Delete access to the All Users role.

To set up rules in the Access Fields:

  1. Click CRM > Contacts > Admin > Rules.

  2. By default, there are no rules listed. To create a rule, click the Add Rule button. If you want to edit a rule, click the icon, or to remove a rule completely click the icon. To run a rule that is not active click the icon or, to run all existing rules, click the Run All Rules link.

  1. Clicking Add Rule brings up a new window. You can choose to add conditions by clicking the Add link. This will bring up corresponding fields to fill in according to the conditions you need.

For example:

  • Here, we select a condition, if a field is set to some value, and we click on AddCondition.

  • Then, we enter if the field Country value is India (you can enter the name of any Country you have to set rules for).

  • Then we set Actions, or grant access to read, write, append and delete to the user. Click Add Action.

  • Then, we can check on the boxes to indicate specific access to be given to the user.

  • On the next screen, we can see the Rule set and we have entered the rule Name as MAH. The Enabled check box is automatically selected, which means the rule will be active. To make the rule inactive, uncheck the box. Click Save Rule when finished, Previous to go back or Cancel to exit without saving the rule.

  • Finally, in the Contact list of the contacts, when we click on Change Permission we can see the access we have granted to the user.