Jump to: navigation, search

Create a Rules Package

DevGuide2.png Purpose: To create a rules package for your application.

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, then a set of rules.

Create a Rules Package

DevGuide2.png Purpose: To create the Rules package associated with your Web Engagement application.
The following section is an example of Rules package creation. For further information about rules creation, refer to the Genesys Rules System Deployment Guide.

Prerequisites


Start

  1. 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, enter a description;
  3. Select WebEngagement_CEPRule_Templates in the Template table.
    GWENewPackageGRA.PNG
    Click Save.
  4. Click Save.

End

Only one package of rules can be active in the selected Web Engagement Backend Server. Create all your rules in the same package for your application.

Next Steps

Resultset next.png Create Rules in the Rules Package

Create Rules in the Rules Package

DevGuide2.png Purpose: To create the rules according to your model.

Prerequisites

  • You created the rules package; for instance, myproject.rules.product.

Start

  1. Select the myproject.rules.product package.
  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 enumeration that is called Phases, in the CEP rules Template. In beta, the single value available 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 anytime that a user enters or leaves a page of your website.
      Select your rule's condition.
      Select your rule's condition.
    • Select a category in Parameters—for example, Products. The Parameters list displays the categories that you previously created in the Genesys Administration Extension.
      Set the condition's parameters.


  6. Click Add Action and select an action in the list—for example, generate actionable event;

  7. Click Save....

End

You can create as many rules as you need in your Rules package.
For details about the available rules templates, see the available templates for:

Next Steps
Resultset next.png Publish the Rules Package

Publish the Rules Package

Prerequisites

Start

  1. In Genesys Rules Authoring Tool, navigate to Solution > Your_Rules_Package > Deploy Rules.
    Click Deploy Rules.
  2. Select your Web Engagement Backend Server.
  3. Click Deploy Rules.

End

If the deployment is successful, the following message appears: There are 0 rule(s) in this package pending deployment.

Next Steps

Resultset next.png Back to Task Table

This page was last edited on July 17, 2020, at 15:48.
Comments or questions about this documentation? Contact us for support!