Support Article
getPageNameReference function behavior incorrect
Summary
The getPageNameReference function fails to read the absolute data page name.
Error Messages
Not Applicable
Steps to Reproduce
Use the getPageNameReference function to retrieve the name of a datapage in an activity.
Root Cause
In an activity that is invoked before the activity where the function is being used, a property set is present that performs, D_Interaction[InteractionId:Param.InteractionId].xxxxx=D_DataPage[Profile:Detail,AccountNumber:pxThread.User_Session.AccountNumber]
A short-cut is taken instead of copying the values when the right hand side page does not have a parent. However, in this case, the right hand side page is a data page which should always have a parent. The short cut sets the parent of D_DataPage to D_Interaction instead of performing a copy. This explains why getReference returns D_Interaction instead of D_DataPage.
Resolution
Perform the following local-change:
Use Page-Copy or data transform instead of the property set.
Tags:
Published December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.