Skip to main content

When using an OR condition for the newer LWC way of configuring Attributes Rules am greeted with an error in the LWC Cart:

 

Unexpected operand expresssion: (OR)

 

Have configured the rule exactly as per the help document: https://help.salesforce.com/s/articleView?language=en_US&id=ind.comms_t_configure_attribute_rules_in_lwc_175234.htm&type=5

 

Also tried varying combinations:

 

OR

(0) OR (1)

(0 OR 1)

{0} OR {1}

{0 OR 1}

We run the releant cache and EPC jobs after each attempt and Empty Cache & Hard Reload the browser each time to ensure nothing in cache can impact.

 

No matter what we try the error fires. Anyone had any success configuring the OR rules?

 

Thanks

 

Chris

Attribute Rules OR Condition Error - Industries LWC Version

 

Screen Shot 2023-10-22 at 12.06.35 pm.png

1 answer
0/9000