This article covers a Bloomreach Experience Manager version 13. There's an updated version available that covers our most recent release.

Expressional Inference Rule Engine Add-on FAQ

Bloomreach offers Enterprise support for this feature to Bloomreach Experience customers. The release cycle of this feature may differ from our core product release cycle. 

FAQ

How to Use Expressional Inference Rule Engine Programmatically?

If you want (e.g., you want to infer goal value by rule document in either authoring tier or delivery tier instead of hard-coded way), you can also access the Expressional Inference Rule Engine programmatically like the following example:

  // You can get the InferenceEngine through HippoServiceRegistry.
  InferenceEngine inferEngine = HippoServiceRegistry.getService(InferenceEngine.class);
  // Or in delivery tier, you can access it through HstServices.getComponentManager() too:
  inferEngine = HstServices.getComponentManager().getComponent(InferenceEngine.class.getName(), InferenceEngineModule.MODDULE_NAME);

  if (inferEngine != null) {
    Object goalValue = inferEngine.executeInference(RULES_DEMO_VISITOR_INTEREST_TYPE);
  }

.

 

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?