Posted: 1 Nov 2020 2:29 EST Last activity: 27 Nov 2020 0:43 EST
Invalid Boolean expression in Pega Robotics Studio
I am not able configure Boolean expression in Pega Robotics . I am using 188.8.131.52 (Pega Robotics Academey --Exercise system).
Once I am clicking Ok in the properties menu (after having a==b and updating the data type for both the variable to String ),expression is getting
changed to -"Invalid expression" ,automatically .Screen shot attached (Boolean Expression_Issue1)
It seems earlier, some people faced the similar types of issue. I have seen the below suggestion in :-
As with the other post you referenced, this is not something I have seen or can reproduce. If you are simply comparing equality of two string though, you can use a StringUtils Equals method. You can also use a Script and write a C# method to compare to values if you are unable to get the expression to do what you need.
Hey, I was able to reproduce by updating the DataType of only one of the variables to a String and leaving the other as a Double. Not sure if that is what you did or not. When you go into the Identifiers Editor (as in your first posted screenshot) be sure to click on both of the Members (a & b) and update the DataTypes.