Question
2
Replies
1887
Views
Aaseya IT Services Pvt. Ltd.
Posted: May 18, 2018
Last activity: August 29, 2018
Localizing parametrized Message rule
Hi Team,
I have created a message rule with 1 parameter and passing a parameter in the activity method(property-set-messages):
"FieldCannotBlank\t"+"Comments"
Is there any way to localize the parameter?
I have tried with the couple of ways like below but no luck.
"FieldCannotBlank\t"+@getLocalizedValue(Comments)
In the message rule- @getLocalizedValue({1}) cannot be blank
Immediate help will be appreciated!
Thanks,
Saku
***Moderator Edit: Vidyaranjan | Updated Categories***
Hi Sakshi,
Please use @(Pega-RULES:Utilities).getLocalizedText(String, Property, tools) function to get the localized value. Here, String --> Field value
Property --> Parameter you wish to pass to the message rule (Comments)
Please have a look at the attached document for clear steps and explanation.
Thank you.