How to show the popup created with Show-HTML in an activity , when the activity itself is used inside a Refresh Section action
I have a requirement where from a click of a button , we get some data from a service.On receiving the data we check for a particular status and decide if decode that data to form PDF and send to the browser or to show the XML response received from the service on a pop-up.The pdf part of this requirement works absolutely fine.
But, to show the XML response as a pop up(when the status is not okay), works fine when running the activity directly but doesn't work when called from the workobject's screen where this activity is called over a refresh of the section.
The snapshot of the activity I have used can be found below.
Can anyone suggest how this popup can be shown even though the activity is called over a Section refresh?Or any other ideas?