Creating a Declare Expression
Hi
I am in the exercise "Automatically calculating property values". Here i have created the expression to add all the employee cost for the benefits. When i run the expression the value is not gettting added. Instead all the values are saved in one line. Please can any one help in knowing where the mistake is. Thank you.

Please check the property type of the TotalBenefitCost property. It looks as though you have saved it as a Text property type instead of a Decimal. The fact the numbers are all on one line leads me to believe the values are being concantenated rather than calculated.
If it is a Text you will need to delete and recreate however the system will not allow you to Delete the property if there is an associated Declare Expression. So you will need to delete the Declare Expression, then the Property. Recreate the property as a Decimal and then you can restore the Declare Expression.
Hope the helps,
Sean
Pega Academy Support Team