Nithya Sivasamy (NithyaS5)
Hexaware Technologies Limited

Hexaware Technologies Limited
NithyaS5 Member since 2015 4 posts
Hexaware Technologies Limited
Posted: November 21, 2016
Last activity: November 30, 2016
Posted: 21 Nov 2016 5:52 EST
Last activity: 30 Nov 2016 7:11 EST

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***

Case Management
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.