Skip to content
Bug Barometer
All issues
In Review

Commerce / B2C Commerce

Merchant Agent can create boost/bury rule conditions without a value, causing rule creation to fail

Summary

When you ask the Merchant Agent to create a boost or bury rule without giving a specific threshold (for example, "boost products with the best priority"), the agent can propose a "Greater than" or "Less than" condition on a Number attribute without a value.

Business Manager rejects the incomplete condition and the rule isn't created. The error is: "Can't add target to rule '<rule name>'. Attribute value isn't valid for operator 'GREATER_THAN' on attribute '<attribute>'." The message doesn't say that a value is missing. The agent doesn't currently check that these conditions include a value before it saves the rule.


Workaround

You can use either of these options:

  • Include an explicit threshold in your prompt (for example, "boost product with priority > 0.3).
  • Create the boost or bury rule manually in Business Manager and set the condition and value .


Steps to reproduce

  1. In Business Manager, open the Merchant Agent for a site that has a boostable attribute of type Number (for example, siteMap priority).
  2. Ask the agent to create a boost rule without giving a numeric threshold (for example, "boost products with the best priority").
  3. The agent proposes a "Greater than" (or "Less than") condition with no value.
  4. Save the rule. It fails with: "Can't add target to rule '<rule name>'. Attribute value isn't valid for operator 'GREATER_THAN' on attribute '<attribute>'."


Error details

"Can't add target to rule ''. Attribute value isn't valid for operator 'GREATER_THAN' on attribute ''."

History

  1. Description updated

    Nov 30, 2026

  2. First tracked here as In Review with 1 report

    Nov 30, 2026