Question

2
Replies
461
Views
Hao Sun (HaoS9285)
Sun Life Financial Inc.

Sun Life Financial Inc.
US
HaoS9285 Member since 2018 7 posts
Sun Life Financial Inc.
Posted: September 9, 2020
Last activity: October 9, 2020
Posted: 9 Sep 2020 17:05 EDT
Last activity: 9 Oct 2020 3:43 EDT

How to use condition in field value

Hi, I am wondering if it's possible to use if-condition in a field value, for example:

Translate from

TotalPremium

To

Your total premium is {if .frequency == 'annual' show .AnnualPremium else show .monthlyPremium}

 

Thanks,

Pega Platform Enterprise Application Development Dev/Designer Studio Insurance System Architect