Support Article
pxConvertResultsToCSV throws exception on Open URL in WIndow
SA-32157
Summary
When calling the action Open URL in Window, which uses pxConvertResultsToCSV activity from the onClick event of a button, PRRuntime exceptions are thrown relating to pxConvertResultsToCSV.
Error Messages
Pop-up window named ActivityStatusError:
Status: fail
Message: There has been an issue; please consult your system administrator
Operator ID: UserName
Requestor ID: HEA85AE5A4BEEE7C8E0288E276662EA1F
Exception:
Below is from the Pega Log Files:
2016-12-16 19:26:47,671 [ WebContainer : 4] [TABTHREAD1] [ ] [ Ruleset:Version] ( internal.mgmt.Executable) ERROR
URL|IP Address UserName- Exception
com.pega.pegarules.pub.PRRuntimeException: PRRuntimeException
Steps to Reproduce
- In a section rule on the work class for a case, add a button that has an onClick event, which calls the action Open URL in Window using the activity pxConvertResultsToCSV. Pass a Page List ID from the case work class for the parameter PageListProperty.
- Open an existing case that has a Page List populated.
- Open the section rule with the button mentioned in Step 1, and click the button.
- Observe that the exception pop-up appears, and details are logged in the Pega log file.
Root Cause
This issue was determined to be a product enhancement request. The content passed to pxConvertResultsToCSV contained a page-list/page-group, which cannot be digested by this activity. It only supports scalar properties.
Resolution
An enhancement request, FDBK-17920, has been created for consideration by Pega Product Management.
Published January 6, 2017 - 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.