Jump to: navigation, search

Managing Rules


Rules are mandatory for managing actionable events generated from the System and Business event flows submitted by the Browser Tier. To add rules, you must create a package and then a set of rules. For details about rules, refer to the Genesys Rules System documentation.

Multi-Package Domain Oriented Rules

As of version 8.1.2, Genesys Web Engagement supports multi-package domain oriented rules. You can map your rules package to a particular domain by reversing the domain zone in the name of the rules package. For example, the blog.genesys.com domain would have a rules package called com.genesys.blog.

You can have multiple rules packages on the same server at the same time. New rules packages (with a different package name) that are deployed do not rewrite the current rules, but are instead added to the current rules set. When the existing rules package is deployed, it rewrites selected package rules in the current rules set.

This domain mapping is applied hierarchically - the "root" domain is processed by the "root" package and the sub-domain is process by the sub-package and all parent packaged (including "root").

For example, your website contains the following sub-domains:

  • genesys.com
  • blog.genesys.com
  • communication.genesys.com
  • personal.communication.genesys.com

And you have the following rules packages:

  • com.genesys
  • com.genesys.blog
  • com.genesys.communication
  • com.genesys.communication.personal

The rules packages are processed as follows:

Domain com.genesys com.genesys.blog com.genesys.communication com.genesys.communication.personal
genesys.com + - - -
blog.genesys.com + + - -
communication.genesys.com + - + -
personal.communication.genesys.com + - + +
This feature is turned off by default. You can turn on domain separation rule execution on the specified Web Engagement server by setting the domainSeparation option to true.

Creating a Rules Package

Complete the steps below to create the rules package associated with your Web Engagement application. This procedure is an example of how to create a rules package. For further information about creating rules, refer to the Genesys Rules System Deployment Guide.



  1. Open the Genesys Rules Authoring Tool and navigate to Environment > Solution > New Rule Package.
  2. In the General tab:
    • Enter a Package Name. For example, myproject.rules.products.
    • Enter a Business Name. For example, Products.
    • Select web_engagement for Package Type. WebEngagement_CEPRule_Templates appears in the Template table.
    • Optionally, you can enter a Description.
  3. Select WebEngagement_CEPRule_Templates in the Template table.

    Create a new rules package
  4. Click Save.


Creating Rules in the Rules Package



  1. In Genesys Rules Authoring Tool, select the rules package you created in the previous procedure.
  2. Select the Rules tab.
  3. Click New Linear Rule. This creates a new rule in the Rules table.
  4. Select the created rule:
    • Enter a Name. For example, Products.
    • Enter a Phase. The list of rule phases can be modified by changing the values of the Phases enumeration in the CEP Rules Template. The default value is *.
  5. Click Add Condition:
    • Scroll down to select a condition. For example, page transition event occurs that belongs to category, which launches the actionable event any time that a user enters or leaves a page on your website.

      Select your rule's condition
    • Select a category in Parameters. For example, Products. The Parameters list displays the categories that you previously created.

      Set the condition's parameters
  6. Click Add Action and select an action in the list. For example, generate actionable event.
  7. Click Save....
    You can create as many rules as you need in your rules package.


Deploying the Rules Package



  1. In Genesys Rules Authoring Tool, navigate to Solution > your rules package > Deploy Rules.

    Deploy the rules package
  2. Select the checkbox next to your rules package in the Package Snapshots section.
  3. Click Deploy Now. The Deploy window opens.
  4. Select your Genesys Web Engagement Server for the Location.

    Deploy the rules package
  5. Click Deploy. The rules package is deployed to the Web Engagement system.


Comment on this article:

blog comments powered by Disqus
This page was last modified on 30 October 2015, at 11:29.