Question
I want to close a work object tab/thread when i click on submit button in a pop up associated with that work object
Hello, I have a requirement as when i open a work object then i have set of documents to be selected and opened them up in a document viewer. I have a button in doc viewer and if i click on that button then i have to close the work object tab/thread conditionally. Here i have used a script "pega.u.d.doClose" to close the pop up window but it work object tab is not getting closed. Also, can i add a when condition to the script which i have used on Click event as i want to make it conditional too. Can anyone please advise here to achieve my requirement. Thanks in advance, Vamshi
***Edited by Moderator Marissa to update platform capability tags****
Hi Vamsi,
Could you try launching another harness "Autoclose" on click of submit button.
That may do the trick.
Hope that helps.
Regards,
Faizan.