Incomplete context URL in Pulse notification emails in Production

Hi Team,

We are using the Pulse gadget in our application. When a Pulse comment is posted or a user is mentioned, an email notification is sent to the respective recipient. The notification contains a context link that should redirect the user to the corresponding case/thread.

While investigating how this link is generated, we found that the context link is constructed through the Correspondence Fragment rule pyWorkLinkWithLabel in the Pega-Social:08-07-01 ruleset.

This functionality is working as expected in our Development environment, where the complete context URL is generated. However, in our Production environment, the context link in the Pulse notification email contains an incomplete base URL.

Only the ending portion of the base URL is present, followed by the thread URL. The thread portion itself appears to be generated completely.

Below is the URL generated in the Production Pulse email:

As part of our troubleshooting, we also tested the base/public URL generation independently in the Production environment. We created a standalone Activity and executed the same Pega URL-builder logic responsible for generating the base URL.

Interestingly, when this logic is executed independently, the complete base URL is generated correctly in Production.

Below is the result of the standalone test in the same Production environment:

So, the behavior we are observing in Production is:

  • Standalone Activity: Complete base/public URL is generated correctly.
  • Pulse notification email: Only a portion of the base URL is present, followed by the complete thread URL.

Since the base URL is generated correctly when the URL-builder logic is executed independently in the same Production environment, we are unable to understand why it becomes incomplete specifically when the context link is generated as part of the Pulse email notification.

Has anyone encountered similar behavior with pyWorkLinkWithLabel or Pulse email context links?

Could this difference be related to the context in which the Correspondence Fragment is being rendered, or is there any configuration that we should verify for URL generation in Pulse email notifications?

Any guidance would be appreciated.

Thank you,
Nikhil Anand

It should be generated from the public link URL setting defined under Configure–>System–>Settings–>URLs
In your case, I am assuming that it is already setup as you are able to see the correct URL when you manually run the activity standalone.
Its possible the public link URL is updated recently and not all nodes have been restarted since the update. I would suggest to do a rolling restart to make sure.

Yes, it’s working as expected now. In our production environment, it is not populated, and when U did, the links are generated correctly.

Thanks

Nikhil Anand