How to create dynamic URL in correspondence rule in pega V8.2.7
I have a requirement to create dynamic URL and place it in a correspondence rule such that when system sends a mail then customer will see the link and he/she will also open the link from the email itself.
Below approach has been taken and it's not working in pega v8.2.7
1. use the property reference and make format as pxLink / pxURL.
2. Also tried the property reference in <a href=""> tag and after saving the correspondence rule, code has been changed. So it's not working.
***Edited by Moderator Marissa to update Platform Capability tags****
Use the paragraph rule to display the link. And later include the paragraph in correspondence rule using <include> tag
Syntax <Include name = "paragraph_name" type= Rule-HTML-Paragraph/>
You could do this by selecting the "Source only mode" checkbox and writing html source in the paragraph rule which uses "pyMessage" property from the primary page. Also you could have a parameter set on the section containing the paragraph and have it called as param.nameofparameter in the source mode. Both these cases you can have the values set dynamically for the hyperlink in a preprocessing activity.