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

Access of PageList-Element in XMLStream not occur if optional



When user has an element of an XML Stream rule that is mapped to Page List value using an index, then this will cause an error when you attempt to run the XML Stream rule.

Error Messages

The reference .XXXXXXX(1 is not valid. Reason: unexpected end of reference string”

Steps to Reproduce

1. Create new Case Type (say, 'Test').
2. Add Page List property ('SomeList' and add 'Name' property to it). 
3. Create new XML Stream rule and add two elements: 

- 'Contact' with Standard mapping and .SomeList(1) as Context Page 
- 'Name' under 'Contact' with Source Property set to '.Name' 

4. Save and perform RUN – observe the results.
5. Make 'Contact' node optional. 
6. Save and RUN – observe error “The reference .SomeList(1 is not valid. Reason: unexpected end of reference string”

The error will be visible in the Designer Studio UI and Tracer.

Root Cause

A defect in Pegasystems’ code or rules due to wrong When Expression.


Apply HFix-29457.


Suggest Edit

Published December 14, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

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

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