# Confusion with Circumstance rule

**URL:** <https://forums.pega.com/t/confusion-with-circumstance-rule/1307>\
**Category:** General\
**Tags:** pega-academy, case-management, pega-platform, system-architect\
**Created:** [April 11, 2021, 9:25am UTC](https://forums.pega.com/t/confusion-with-circumstance-rule/1307 "2021-04-11T09:25:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SaiMahithC8325](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@SaiMahithC8325](https://forums.pega.com/u/SaiMahithC8325)\
**Post date:** [April 11, 2021, 9:25am UTC](https://forums.pega.com/t/confusion-with-circumstance-rule/1307/1 "2021-04-11T09:25:37Z")

</div>

Hello Community,

I found this question in CSSA 8.5 in PDN

 ![Circumstance.png](https://pega1.discourse-cdn.com/pega/original/2X/5/561054d0a6568a10fbf7bbf727f39853add9612a.png)

So, As per this question, I tried practically in pega and found its not working as per the answer provided by PDN

Here is what i have done -

so i created 3 rulesets 01-01-01, 01-01-02, 01-01-03

1. I created a section called Login 01-01-01 (initial base rule)

2. circumstanced it to Login 01-01-02 (.A = 1)

3. saved as from Login 01-01-01 to Login 01-01-03 , so basically this is nothing but intial base rule

4. Now when i open the rule form for all three rules, there is (Available,Circumstance) can be seen and circumstance relation between all rules exist

5.I did set .A = 1 in pysetfielddefault Data transform

so when i executed the case type as expected, Login 01-01-02 got executed

Now this is what happened!!!

01-01-01 (none, base rule selected)

01-01-02(.A=1)

01-01-03(None)

1. To replicate the above question, i checked the base rule checkbox explicitly(base rule selected) for section Login 01-01-01

2. Now section Login 01-01-02(Available,circumstanced) but there isn’t (Available, circumstance) relation can be seen in rule form for Login 01-01-03 or Login 01-01-01

3. Now when i tried to execute the case type with .A=1 being set, Login 01-01-03 is getting executed

So rule that rule resolution picking is 01-01-03(none) but as per answer provided in PDN 01-01-02(.A=1) should get picked up.

Can someone please explain wether i got anything wrong.

Thanks,

Mahith
