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****
Thank you for posting your questions in the Pega Support Community.
It looks like you have created duplicate threads for the question- How can we close the work object tab/thread on click of a button placed in an associated Harness pop-up window. To avoid confusion and to ensure the discussion continues on a single thread I’ll close this as a duplicate thread.