- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback!
Close Sametime Portlets
If you want to close Sametime portlets in a workflow, like before you open another one, you can do it via the code below
public boolean preDMProcIn() {
//Close all sametimes in current dialog
DialogWorkspace activeWorkspace = processData.getDialogWorkspace();
Map<String, net.comactivity.base.DialogWorkspace> map = activeWorkspace.getChildWorkspaces();
for (String key : map.keySet()) {
DialogWorkspace childWorkspace = (DialogWorkspace) map.get(key);
childWorkspace.close();
}
return true;
}
Was this article helpful?