I have created rule in rule manager in workbench .I have clearly defined trigger and targets. But when I give same trigger in reference app i.e. search term the rule is not getting fired.I can see that in supplement object I don't have any results.
In rule amnager when I am clicking on Preview.It is showing following error could not contact ene to get merch debug info.
Please let me know what can be the issue.
This is a fairly generic description, 968606, one with many approaches.
Assuming you have verified that the rule is indeed publishing into the MDEX (no errors on PS or WB logs) and is active, I would try opening up the orange reference app in a different window altogether to see if the rule is firing and you are able to see in supplements.
Getting the tooling right for preview mode requires setting up the preview mode urls appropriately in WB, setting the JS domain correctly, and if the hosts are different, implementing a crossdomain.xml file per the documentation. Before you tackle this, make sure the above steps are working.