Discussion
Opening SFAI WO in a new tab from CPMI 360 screen.
Hi Guys - We use CPMI and SFAI frameworks. Here is what I need. Your help is highly appreciated.
Requirement 1: On clicking an SFAI work object that is shown in the member 360, it should open up in a separate tab(need not be a new interaction though). Using the action "openWorkByHandle" opens the work object in the same interaction tab.
Requirement 2: This is a straight forward one. When the user closes the interaction tab by clicking "x" on the tab, I'm looking for a java script handle where I can put custom code. Can you guys pls help?
Thanks
Narayana.
***Edited by Maryrita : Moderator, added group tags***
I make "Requirement 2" that I asked in my actual post more clear.
Basically, when user clicks on "x" of the interaction tab, I would like to display a JS alert based on a business condition and then stop the tab from closing.
We use CPMI 7.13. I reviewed the on click actions of the "x" icon on the interaction tab. There are sequence of actions added. Is there a way I can add an action above all those actions and exit out of all those actions based on a condition?
Thanks
Narayana.