Question
Last activity: 22 Sep 2017 3:26 EDT
Open Case closing issue
We have above menu bar in our application.
We open case from "Create/Modify Customer" menu.
Issue/Requirement: On click of any other menu like "Portfolio Reports" or "Work Item Queue", Opened case should be closed.
Can someone provide solution.
Thanks in Advance!


Pegasystems Inc.
IN
Hi Praveen,
I am not able to understand. Could you please explain so that I can check in my application.
Thanks in Advance!


Pegasystems Inc.
IN
Hi Rajashekar,
After clicking the Menu Item, if you are opening any page than it will close the previously opened page/case from UI and open new page/case. Could you please send us the design time screen prints from Menu configuration.
Regards,
Praveen
Please find the menu design
I have clicked on Create/Modify customer menu and opened a case. when I click on any other menu item e.g. work item Queue>All work items, it displays report but Current open case is not closing and clipboard page is not removed.
Hi Rajeskhar,
If you are using a dynamic container or tab group layout you can restrict the number of documents you can open.
In container or Layout properties you there is an option of the Maximum documents used.
If you want single document at a time. While configuring the dynamic container there as an option called Mode where you can select Single Document.
Please let me know if you have any queries.
Hi Pooja,
I do agree with you, on single mode Dynamic container. We are using mode Multiple with 16.
Currently we are doing below steps
- clicked on Create/Modify customer menu and opened a case.
- when I click on any other menu item e.g. work item Queue>All work items, it displays report
Without changing Dynamic container, can we close Current open case and clipboard page is not removed i.e. on click of "Queue>All work items".
Thanks
Hi Pooja,
I do agree with you, on single mode Dynamic container. We are using mode Multiple with 16.
Currently we are doing below steps
- clicked on Create/Modify customer menu and opened a case.
- when I click on any other menu item e.g. work item Queue>All work items, it displays report
Without changing Dynamic container, can we close Current open case and clipboard page is not removed i.e. on click of "Queue>All work items".
Thanks
Without changing Dynamic container, can we close Current open case and clipboard page is not removed i.e. on click of "Queue>All work items"
Without changing Dynamic container, can we close Current open case and clipboard page is not removed i.e. on click of "Queue>All work items". Please go through above query.
Without changing Dynamic container, can we close Current open case and clipboard page is not removed i.e. on click of "Queue>All work items". Please go through above query


Capgemini
IN
I think calling the below script would close the current work.
pega.u.d.closeWork
-Saikat
Thanks Saikat.
Please share the details to use pega.u.d.closeWork


Capgemini
IN
Call this script from button onclick action.
-Saikat
Sorry for delayed response.
I am not clear, Onclick of menu item, we have to close the case.
Please share the details to call the workclose script.
Thanks in Advance..........
Hi Saikat,
I am not clear, Onclick of menu item, we have to close the case.
Please share the details to call the workclose script.
Thanks in Advance..........
Hi Saikat,
I am not clear, Onclick of menu item, we have to close the case.
Please share the details to call the workclose script.
Thanks in Advance..........
Hi Saikat,
I am not clear, Onclick of menu item, we have to close the case.
Please share the details to call the workclose script.
Hi Saikat,
I am not clear, Onclick of menu item, we have to close the case.
Please share the details to call the workclose script.
Accepted Solution


Pegasystems Inc.
IN
Hi Rajasekhar,
You can run the script by providing the function name("pega.u.d.closeWork") in the field as below:
or you can use "cancel" action on click event in the action tab of the menu item.
Thanks,
Vikash
Hello Rajashekar,
If you open any rule after clicking the portfolio reports or Work Item queue, it will close the previously open rule from UI and clipboard if you are not using the dynamic container or tabbed layout.