Support Article
OOTB gadget MyProcessActionsDD not working in portal
SA-1124
Summary
When you use the out of the box gadget MyProcessActionsDD in a portal, it does not display and shows the below Javascript error in the browser.
Error Messages
Message: 'undefined' is null or not an object
Line: 19
Char: 4740
Code: 0
URI: https://www.example.com/PRServlet/AieC1pjq1HnhVTwLlDxnMiCClG6yT-0ZFUMkIbkNodt1hXmoSM_YYg%5B%5B*/webwb/pega_desktop_domainsuffix_1819019784.js!pega_yui_13795194878!desktopwrapper_13371440755!!.js
Steps to Reproduce
- Log in to a portal using the gadget MyProcessActionsDD.
- Select a value from drop down "Transfer work from operator"/"Bulk Process from operator"/"Bulk Process from Workbasket."
Root Cause
The root cause of this problem is a defect in Pegasystems’ rule Data-. pyMyProcessActions. This rule passes oSafeURL to openWorkByURL function as an object, but openWorkByURL() expects the URL as a string.
Resolution
This issue is resolved through the following local change: Modify the pyMyProcessActions rule to send the oSafeURL as a string instead of object by replacing the entire rule with the code below:
var strUrl = "pyActivity=Assign-.BulkProcessAssignments&ListName="+ListName+"&TaskStatus="+flowAction+"&ID="+ encodedID +"&moreBulkProcessing=false&ClassName="+classname+"&skipActionCheck="+skipActionCheck;
openWorkByURL(strUrl);
Published June 12, 2015 - 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.