Flowdock

Expand all | Collapse all

Is there a way to delete comments in a flow?

Jump to Best Answer
  • 1.  Is there a way to delete comments in a flow?

    Posted 08-23-2018 03:02 PM

    If so, how?



  • 2.  Re: Is there a way to delete comments in a flow?

    Broadcom Employee
    Posted 08-23-2018 03:13 PM

    Hi Sarah,

     

    Is this answering your question?

    How do you delete a chat message? 

     

    If not, can you elaborate more specifically what you're looking for.

     

    Thanks,

    Sagi



  • 3.  Re: Is there a way to delete comments in a flow?

    Broadcom Employee
    Posted 08-27-2018 12:36 PM

    Hey samccand did the above help?



  • 4.  Re: Is there a way to delete comments in a flow?

    Posted 08-27-2018 12:54 PM

    No, unfortunately it doesn't. I am looking to see how I can delete all comments in a flow (that were not made by myself). I dont want to delete the flow- just want to refresh the flow and clear older conversations. 



  • 5.  Re: Is there a way to delete comments in a flow?

    Broadcom Employee
    Posted 08-27-2018 01:15 PM

    Hi Sarah,

    Thanks for clarifying. 

     

    There isn't a straight-forward way to delete all messages of a flow or even a bulk of them. The only way is to delete them one-by-one. Each message has an 'id' and you can use the API to find the message id, then delete that message.

     

    The documentation of this is here:

    Messages | Flowdock API 

     

     

    Here is an example I found for you where you see this code gets the most recent 100 messages and deletes them. You can see that it's using the API , getting the message IDs and then deleting them one-by-one (as said, there isn't a way to bulk delete them):

    hubot-flowdock-delete-message/delete-message.coffee at master · cdoughty77/hubot-flowdock-delete-message · GitHub 

     

     

    I hope this helps. Let me know if you have any questions.

     

    Thanks,

    Sagi



  • 6.  Re: Is there a way to delete comments in a flow?
    Best Answer

    Broadcom Employee
    Posted 08-27-2018 04:08 PM

    Sarah, 

     

    In addition to what Sagi mentioned, in Flowdock Enterprise, Data Retention policies can be configured: Flowdock - Administration: Deleting chat and inbox - CA Knowledge. As your organization is on Flowdock Enterprise, this certainly could be configured at the request of the organization owner or an administrator. 



  • 7.  Re: Is there a way to delete comments in a flow?

    Posted 08-27-2018 04:22 PM

    Thank you! I will reach out to my admins and see if this is possible.



  • 8.  Re: Is there a way to delete comments in a flow?

    Broadcom Employee
    Posted 08-27-2018 04:45 PM

    Sounds good, Sarah. We're happy to get that configured if desired!