Question


Vodafone
US
Last activity: 18 Sep 2020 9:57 EDT
Error message not appearing in UI
Hello Team.
@Default.pxAddMessageToPage(Param.ErrorMessage,Primary) is been using in Datatrasform which is called on click of Save button. On Tracer i checked the Error Message is showing in pyWorkpage but not visible in UI.
Could you please provide any solution for this.
Thanks,
Niti
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Pegasystems Inc.
FR
Hello,
What Pega version is it? Can you share a picture of your clipboard.


Vodafone
US
Hello,
Version- Pega 8.3.2
Attached are screenshot of tracer and pyworkpage .
I can only see Error in pyworkpage when i trace it. When i open clipboard of work object , there is no error message.
Thanks,
Niti


Pegasystems Inc.
FR
Yes, it looks like the error is set as expected on line 144 and gone on line 147. Can you share the XML output? Are you tracing everything?


Vodafone
US
yes i have traced everything.
So on click of save button 3 actions are added (DT , Refresh this section and DT , Save).
So if we are removing save from action set it is showing error in UI. But if we add Save the error doesnot appear and it doesnot save the workobject. the case is not getting saved if it has error.
Is there any script which can prevent save if case has error? and it should save the case if no error is there in UI.
Thanks,
Niti


Pegasystems Inc.
IN
Hi Niti,
Instead of configuring Save Action on click of save, can you try running OOTB Save activity from data transform using pxExecuteanActivity OOTB function.
Regards,
Arihant


Vodafone
US
Can i use Dosave?
Also i want to know if error is present in pyWorkpage , as per pega is the case suppose to be saved with errors is we click on save?
Capgemini
NO
Try using "Errors" or "DisplayErrors" section in your main section.
-
Shubham Kamble


Vodafone
US
The Display section is already used in main section.