on click using run script to download excel file showing activity status screen
Issue1:We are using below script on click button able to download the excel file ,As per requirement if there are no results i need to set message on UI (If pxResultsCount>0 is false then Page-Set-Message) with message its showing Activity Status screen on UI.
In Tracer :
After Page-Set-Message step Activity ends and built in ActivityStatusNoContentHandler Pega UI Engine 07-10-33 Activity Begins.
function downloadFile(activityName, className)
var suURL = SafeURL_createFromURL(pega.u.d.url);
issue is about set error message by doing page-set- message before executing the MSOGenerateFile we are doing obj-browse if resultcount > 0 is false jump to page-set-message step, here on UI am seeing Message with Pega OOTB UI as well (Activity Success but no return Content).