Close sametime portlets
  • 16 Apr 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Close sametime portlets

  • Dark
    Light

Article summary

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?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.