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?

1 Answer 1

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

3
  • 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
    Commented May 29, 2017 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
    Commented May 29, 2017 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
    Commented May 31, 2017 at 10:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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