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

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

  1. Log in to a portal using the gadget MyProcessActionsDD.
  2. 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

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