3

I need to use sitecore rules to personalize the contents that I want to display to users.

enter image description here

For example, I configured two basic rules on a component. When used separately, both rules evaluate to true.

Is it possible to have rule chaining that is to execute rule 2 even if rule 1 returns true?

2

You do this by chaining conditions.

Basically you can keep adding rule conditions to your expression, and combine them using AND and OR logic.

As below:

enter image description here

  • What i want to achieve is for both rules to execute. That is, if rule 1 returns true, perform action 1 and continue to executed rule 2. – adarsh May 29 '17 at 8:02
  • 1
    Then you need to set up a combination of conditions as above. But there can only ever BE one action in this particular interface; which is "assign Data source". – Mark Cassidy May 29 '17 at 8:04
  • Since the only action that can be performed is assigning a data source, I will be configuring different renderings with only one rule containing combination of conditions. – adarsh May 31 '17 at 10:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.