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

Not able pass page name as parameter in a section

SA-25657

Summary



User has to call a section (present in Data class) from the work class section using the dynamic page name (using page-group).

So, when they have pass the page name as parameter in the "Using Clipboard Page" option, the section of the Data class cannot load at run time. But when hard coded the page name then this is working fine.


Error Messages



Not Applicable.


Steps to Reproduce



1. Create a section in work class.
2. Refer a section (which is in Data class) and use the option "Use Clipboard Page".
3. From the flow action pass the page name (in this case this is page-group) as parameter.


Root Cause



A software use or operation error : The reported behavior is expected as per product design. Because, when one passes a parameter to rule like Param.paramName that will be treated as "Parameter" page.

It is a different page structure in PRPC. Where as in the reported behavior "Use Page context" has option "Use clipboard page" and value is "Param.paramName". Here the clipboard page is not same as parameter page. Hence it does not take the value from parameter page.

Resolution



To pass dynamic class name to the clipboard page context, use pre-processing activity or data transform to set one of the property value as desired class name and refer the same property in "Use Page Context " drop-down as either "use clipboard page" or "use page defined on the property".

 

Published July 27, 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