Declare expression not working for the expression a=a+b
How to implement below expression using declare expressions?
a= a + b;
Both a and b are String. The input for b changes every time. For example, if a="We" and b="like", i want the expression as
a = "We" + "like" = "Welike".
When the input b (b="Chocolates") changes next time, the result should be as follows.
a = "Welike" + "Chocolates" = "WelikeChocolates"
Whenever b changes, that value should be appended to the value of a. Is this achievable using Pega 7?
***Updated by Maryrita : moderator, moved to Pega Support Community from Pega Upgrade Center***
***Updated by Moderator: Marissa to update categories***