How to refresh attachment section onclick without submitting flow action
I have a button included in my main section. On click of this button I am executing an activity which created PDF (pxCreatePDF) and I am refreshing other section which is standard pyCaseAttachmentsWrapper section (standrad pega section which shows work object attachments).What I expected is on refresh, the attachment that was just created by pxCreatePDF activity should get displayed in the section below.
However, when I submit that flow-action, attachments show up properly on next screen.
I saw some other forums regrading the refresh of attachments section which suggested removing D_Attachmentslist data page responsible for holding attachments of given case. But latest version of pxCreatePDF activity I am using already takes care of it.
Can someone suggest what is missing or needs to be done? I am attaching screenshots of section and onclick configurations.