1 Reply Latest reply on Sep 21, 2009 3:41 PM by Francisco Jose Peredo Noguez

    Ending All Nested Conversation

    Jubril Adisa Novice

      I am trying to end all nested Conversations whenever a user Clicks a Button to navigate to the root Page. But my code is not working

      Collection<ConversationEntry> conversationEntries=  ConversationEntries.getInstance().getConversationEntries();
                 Iterator<ConversationEntry> iterator=conversationEntries.iterator();
                      ConversationEntry conversationEntry=iterator.next();
                      if (conversationEntry.isNested()){
                           log.info("End Conversation {0}", conversationEntry.getId());

      Any Suggestion would be appreciated. Though I noticed that it was identifying and Nested Conversation , it wasn't ending them. I need the conversations to end before the next page appears