How to Sum Two or More Variables in the Expression of a Program Rule
Details are below.
I have three variables, and want to add them and check if the total is equal or more than to 100. The expression is
(A{var-1} + A{var-2} + A{var-3}) >= 100
However, I discovered that the result of the expression is the concatenation of the values, not their sum.
for example var-1=23, var-2=20, var-3=10 the result is 232010.
I create three variables and assigned the values of data elements to them, then I created the program rule expression is (A{var-1} + A{var-2} + A{var-3}) >= 100. If the expression is true the action is display message “the total must not excess over 100”
Thank you so much for your help, I remember this post and jira, and was about to look it up just now.
Apologies for my late feedback, but I hope this solves your issue @sami.oracle10g