How can we close the work object tab/thread on click of a button placed in an associated Harness pop-up window.
I have a work object and inside a button called EDIT DOCUMENT. When i click on this button, it should open up a window harness pop-up and which is a document viewer . I have a button called SUBMIT inside that window and when i submit it then the pop-up closes automatically and at the same time i work object thread should also be closed. This is not happening even if i call CloseWorkItem, DoClose etc. can any one please suggest how can i achieve this.
Thanks in advance.
***Edited by Moderator Marissa to update platform capability tags****
***Moderator Edit-Vidyaranjan: Updated SR details***