This page was last edited on July 17, 2020, at 15:48.
Comments or questions about this documentation? Contact us for support!
![]() |
Purpose: To publish the CEP Rule templates which enable the rules creation. |
Purpose: To import the template created by the create script in the Genesys Rules Development Tool. Even if you do not plan to customize this template, your rules template must be published in the Rules System Repository before you try to create rules.
Prerequisites
Start
Window > Open Perspective > Other > Template Development
to switch to the Template Development perspective of the Genesys Rules Authoring Developer Tool.File > Import...
.Import
dialog window, navigate to General > Existing Projects into Workspace
. Click Next
.Select Root Directory:
, then click Browse
.\apps\<application name>
folder of the Genesys Web Engagement Installation directory and navigate to the \_composer-project\WebEngagement\WebEngagement_CEPRule_Templates
subdirectory.WebEngagement_CEPRule_Templates_<application name>
is added to the Projects
list view of the Import
Dialog Window.WebEngagement_CEPRule_Templates_<application name>
project.Copy projects into workspace
.Finish
to import the project.End
As a result, the CEP_Rule_Templates_<application name>
is added to the Project Explorer
.
Next Steps
Configure the CEP Rule Templates
Purpose: To configure the project properties.
Prerequisites
Web Engagement Categories
business attribute was previously defined in Genesys Administrator.Start
Project Explorer
, right-click on the WebEngagement_CEPRule_Templates
project. Click on Properties
.Properties
dialog window:
Template Properties
. In Publishing Data
, set Type
to web_engagement
.Template Properties > Imports
. The Imports
panel shows up.Enable global imports
. com.genesyslab.wme.cep.api.Event
and com.genesyslab.wme.cep.drools.EventDispatcher
packages must be present.Project Explorer
, navigate to WebEngagement_CEPRule_Templates > Parameters > category
.Parameters Editor
Panel, set the Web Engagement Categories
value for the Attribute Name
option.End
Next Steps
Publish the CEP Rule Templates in the Rules Repository
Purpose: To publish the template in the repository to enable the rules creation in Genesys Rules Authoring Tool.
Prerequisites
Start
Project Explorer
, right click on WebEngagement_CEPRule_Templates
.Publish
. The Publish Template Wizard
dialog box opens.WebEngagement_CEP_Rule_Templates
.Finish
.End
Next Steps
Build and Deploy