Question2Replies72Views JeffGo Member since 2017 14 posts Appriss, Inc Posted: July 30, 2018Last activity: August 14, 2018 Closed Running a When rule gives different result than test case result when using a Text param that receives a number.I believe I found a bug when considering a param that is set as a Text vs as an Integer.SETUP: 1. Create a When rule "When Param.EmployeeType = 4", but make the Param.EmployeeType a "Text".CREATE THE TEST CASEClick on the "Actions" -> "Run" for the When ruleEnter the number 3 for the ValueClick Run *Note that "false" is returned.Click Convert to TestRun the test and see it fail stating that the actual result is true.FOLLOW-UPNow change Param.EmployeeType to IntegerRe-run the test and it will pass.The curious thing here is that when running the rule from "When", it works whether or not the param is a Text or Integer, but fails in the Test Case if the param is a Text. Low-Code App Development Testing Applications ×Close popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 2 years agoraia1 PEGA replied to JeffGoHi Jeff, I tried in 7.3.1 and 7.4 and the result of the When rule and the test cases are passed when I gave the condition Param.EmployeeType=4 and provided the EmployeeType=3 and EmployeeType as Text. Posted: 2 years agoJeffGo Appriss, Inc replied to raia1That is not my experience in 7.3.1. And I made sure to check out, check in, etc. I first tested with param.EmployeeType = 4 and RETURN = true. Then I checked it out, changed param.EmployeeType = 3 and left RETURN = true. Checked in, Actions -> Run and the result was still "Test passed!" I do believe it is a caching issue. But I'll let those who develop the backend figure this out.