Question

4
Replies
2764
Views
NithyaS5 Member since 2015 4 posts
Hexaware Technologies Limited
Posted: 3 years ago
Last activity: 3 years 9 months ago
Closed
Solved

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
Share this page LinkedIn