Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

AttachNote activity clears Page



We use the pyAttachingScreenNote flowAction to add notes to a workObject, it calls the AttachANote activity. When this acitivty executes it deletes the CustomerAccounts page under pyWorkPage.

- tracer
- screens

Error Messages

There is no error at tracer

Steps to Reproduce

Creating a note causes this problem, as step 4 of the activity gets primary page from database the clipboard gets cleared.

Root Cause

A defect in Pegasystems’ code or rules.

In the step4 of AttachNote activity, there are two when conditions. The second when condition always returns false as there is no parameter PageName. 
(Param.PageName != "") && (@PrimaryPageName(tools)== Param.PageName)

As this returns false, Activity will perform Obj-Open-By-Handle which is replacing existing pyworkpage details which is not expected.



Apply Hfix-25550 - Setting PageName param as inshandle is set so that AttachNote will not reopen the workpage


Published March 18, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us