Example: Request attributes and session attributes
Request values passed to the JSP or stored in the HTTP session can be referred to from rules. To refer to them in a rule, know the variables and their possible values. The following example profiles news articles as read or unread by the current user, based on the page request generated by a form on a JSP.
User News is
ReadNews when
current Request Attribute.ProcessNews is equal to Read
UnreadNews when
current Request Attribute.ProcessNews is equal to Unread
UnreadAllNews when
current Request Attribute.ProcessNews is equal to UnreadAll