Support Article

Notes getting attached to wrong Work Object



After implementing a solution where emails are generated with multiple Work Object links, when opening the different Work Object links in multiple tabs in IE simultaneously and trying to add notes, the notes are copied over to wrong work object.

Error Messages

Not Applicable

Steps to Reproduce

  1. Generate an email with multiple work object links.
  2. Open different Work Objects simultaneously in different tabs.
  3. Add notes to the different work objects without closing them.
  4. Observe notes getting copied over to wrong work object.

Root Cause

A defect in Pegasystems’ code or rules that results in multiple work objects utilizing the same thread.


Perform the following local-change:

Save the WorkLink.Email Corr Fragment into an application ruleset, and replace the existing code with the following:

{WHEN useDesktop}
<a target="_blank" href="".pzInsKey").getStringValue())); }
<a target="_blank" href="".pzInsKey").getStringValue())); }

This code utilized RedirectAndRun to call Work-.Open, and allows the specification of a distinct thread.  Please note that, as the thread name is just the pyID, there is still the possibility that a user could overwrite data if they open the same work object twice. 
Suggest Edit

Published April 13, 2016 - Updated October 8, 2020

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.