Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689990000/f270776c-560f-4f01-ad79-ef8bf860d48d.jpg?itok=MF2NO0oO)
Anamata
NL
Last activity: 30 Jun 2018 16:38 EDT
Test Case for When rule with Parameters not working?
Hi,
I have 2 (very simplified) advanced when rules:
Scenario 1: returns true if a property value equals "FooBar"
Scneraio 2: returns true if a input parameter value equals "FooBar"
Testing it manually returns the expected results. However, when I create test cases for these scenarios, the first one passes, the second scenario seems to fail for every input.
Is this a bug or am I doing something wrong? See attachment for the two scenarios.