View does not refresh when deleting an attachment

Hi,

I am facing an issue - On the create stage, I have a view which displays an attachment type field. If user uploads an unacceptable file name (run through a validate rule of the assignment), then an error is displayed.

Now if the user deletes the file then PEGA runs the patch/assignment/refresh service call. However this does not clear the error message on the view.

How can I resolve this issue?

Thanks for the help!

PEGA version: 25.1.3

The error probably remains on the clipboard page — you can try a post processing step of the action to clear page messages.

Hi @biswa1 - it won’t reach post processing if the validation fails. I tried pre-processing hoping that the error would be present at the time the patch call but there is no message on the primary page.

could you share your validation configuration?

HI @biswa1 - fairly straightforward config. I am wondering if it has something to do with code sitting in a branch: