Send an email with a link to the case displayed in CosmosUI

I use Pega’s “send email” shape.
I can set “link to current case” in message editing, but accessing the link set here breaks the CosmosUI layout.

Could you tell me how to set the link to access without breaking the CosmosUI layout?

Hi @HiroakiS6393,

Could you please share some more details/ screenshots about the issue?

Regards,

Biswajit Parija

@Biswajitp9096

Thank you for reply!

I set the Pega case link over the email along the following steps:

  1. I used the email shape in my flow rule.
  2. I clicked “compose” botton under Message content in email shape.
  3. I set the link botton in compose message setting.
  4. I checked the “Link to current case”.

When I followed the link in the email, I found the ConsmosUI display was broken.
I assume that the URL contains Consmos UI display settings (ex.Skin rule).
But that information was not included in the link created by the email shape.

@HiroakiS6393

The customer agreed with an alternative method of sending the Pega login screen URL by email, and the issue was resolved.

@HiroakiS6393

If you want to dynamically send application URL along with an email you can follow the steps below.

  1. create a dynamic system settings rule.
  2. Create a Correspondence fragment rule of type Email.
  3. Paste the below code.
    1. <%
      String AppLinkURL = String.valueOf(pega_rules_utilities.getDataSystemSetting(“RulesetName”,“DSSName”));
      %>
      <%=AppLinkURL%>
  4. Refer this Correspondence fragment rule in correspondence rule under type of Rule-Corr-Fragment.
  5. Save.