OOTB gadget MyProcessActionsDD not working in portal
Message: 'undefined' is null or not an object
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."
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.
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;