Question
Afni
LK
Last activity: 26 Aug 2020 8:41 EDT
Set parameterized validation failure messages in validate rule.
How to pass values from a clipboard property or a parameter to a message rule in a validate rule?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Updated: 29 Jan 2018 7:04 EST
Afni
LK
@Asif_Hasan, I have found a way to pass property reference or parameter directly to a message rule from a validate rule.
Afni
LK
This issue is on:
- Pega Platform v7.1.9
- Pega Customer Service for Communication v7.1.4
- Mozilla Firefox Quantum v57.0
- Microsoft Windows 10
EPAM Systems, Inc.
ES
Hi Suranjith,
Thanks for posting on PSC.
As per my understanding of your requirement, you want to dynamically display validation message?
Could you explain what is the business requirement to do so? such that we could check any alternate method for the same.
Though directly you can't pass a value in the message field in a validate rule.
Regards,
Asif
Accepted Solution
Updated: 29 Jan 2018 7:04 EST
Afni
LK
@Asif_Hasan, I have found a way to pass property reference or parameter directly to a message rule from a validate rule.
-
Sushanth Kommera Nisarg Kothari vidy Uppaluru Andrea Cabañas
Afni
LK
@AsifHasan, Requirement is to display a value captured from user as a part of validation message.
EPAM Systems, Inc.
ES
You can use, pxAddMessageToPage function in a data tranform.
Refer your another post, where I have replied.
https://collaborate.pega.com/question/pass-parameters-or-property-values-page-set-messages-activity
Hope it helps.
Afni
LK
@AsifHasan, Thanks.. I'll check...