Support Article
ID from Java application not passed to parameterized script
SA-60479
Summary
Web Mashup script is generated to open a work object from a Java application.
On passing an ID from the Java application, the ID is not passed to the script. This occurs when the script is parameterized.
Error Messages
Unable to open an instance using the given inputs: Test-ABC-PO-PB-WORK-REQ {{TESTID}}
Steps to Reproduce
Include the Web Mashup in a Java application and parameterize it.
Root Cause
In the Mashup script, angular dynamic binding was used for the key name. Hence, an issue occurred as Web Mashup was loaded before AngularJS resolved dynamic data binding. Additionally, configured URL encryption was used, which is not supported completely in Web Mashup.
Resolution
Perform the following local-change: To remove and add the gadget, each time user wants to load the Mashup, refer to: https://community.pega.com/support/support-articles/pega-web-mashup-gadgets-do-not-load-angularjs-dynamic-views
Disable URL encryption using Dynamic System Setting (DSS).

Published July 23, 2018 - 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.