The Rule Event Control control provides a convenient way to dispatch a RuleEvent to the event service. Use this control in a Page Flow for one of two primary purposes:
This control may not be used in a Java Web Service, because the request and session objects it requires are unavailable from a Java Web Service.
You can obtain the Session and Request objects from a Page Flow with the following code:
HttpServletRequest request = this.getRequest();
The control's dispatch action lets you pass (HttpServletRequest request, String rulesetName, String ruleName) to the event service.
For property, method, and other details on this control, see the control's Javadoc.