Support Article
AttachNote activity clears Page
SA-18427
Summary
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.
Attached:
- 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.
As this returns false, Activity will perform Obj-Open-By-Handle which is replacing existing pyworkpage details which is not expected.
Resolution
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
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.