Hi All,
As mentioned in the Title, I am unable to get the Rule associated to a component executed when a component with Content Rule is defined.
The below is a detailed explanation of my scenario::
I have defined and published the following into a LiveSite Runtime environment::
1. A Rule (let me calls this as R) which has a condition that evaluates true for 'Visitor Gender=Male' and executes an action: 'Get Content Tagged with: Locale is=en_US' else 'does nothing'.
2. A component (let me call this as C) with a ContentRule Datum Type (based on ex provided in Appendix A of TS Site Dev Guide) which has associated the Rule defined in Step 1 with the component
3. A content which needs to be retrieved called ProductInfo(I suppose all content gets tagged with Locale=en_US by default)
4. A page that has a Login component and based on successful login redirects to the page containing the component (C) I defined before.
My expectation is that when a Male user logs in the Rule (R) associated to the Component (C) is executed by the RulesEngine and the Content I have published is retreived. But this is not happening as I expected.
I suppose when the 'Get Content Tagged with' is called by a Rule the method getContent() of Java class: com.interwoven.livesite.rules.actions.SampleContentRetrieverAction is called. Since I have enabled the Log4J logs in LiveSite environment at Level=DEBUG I am unable to find any logs from the getContent() API being written and also any log that says the RuleEngine has executed my Rule R. I am referring to the livesite.runtime.log file for logs.
Can anyone who has tried the Targeting of content in a component selectively based on the Visitor userProfile please help me with any troubleshooting techniques to evaluate:
1. Why the Content is not being retrieved by the Rule (Is my tagging correct)?
2. or Help me check why the Rule is not being executed when my component (C) is loaded?
Note: I have a segmented navigation component (defined via a SiteMap) working in the same page as my component C which shows a MaleSegment when a Male user logs into the page. This is using the same Gender Condition as used by my Rule 'R'.
There is a reference to this topic in another thread but since that topic was older I have posted a new therad here:
http://devnet.interwoven.com/forums_vb/showthread.php?t=32613&forumid=66Eagerly awaiting a response.