Distribution Event listener intermitently applying custom properties | Community
Skip to main content
Level 3
October 4, 2024
Question

Distribution Event listener intermitently applying custom properties

  • October 4, 2024
  • 2 replies
  • 534 views

Hi, I would like to ask, we have a Distribution Event listener which is used to apply a custom property (named as lastPublishedDate) when the Distribution Event Type is "ADD". We see that it is being intermittently applied to pages once we published it. And on the logs, we get a Persistence Exception error: Unable to commit changes to session, therefore, published pages didn't have the said property. What would be the cause of this and would there be a more appropriate architecture for this funtionality? Thanks!

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

arunpatidar
Community Advisor
Community Advisor
October 4, 2024
kautuk_sahni
Community Manager
Community Manager
October 16, 2024

@lyonmartin Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni