Deleting Broadcast messages in Smart IT

Version 2
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy with Smart IT



    QUESTION:

    How can we delete a Broadcast message from within SMART IT?


    ANSWER:


    There is currently no option to delete the broadcast from Smart IT user interface.

    As a workaround one may run a mongo shell command or script to delete the broadcast if it must be removed.


    The following command can be used:
    ==============
    use social
    db.activities.remove({"feedObj.feedId":"<<feedid>>"})
    db.subactivities.remove({"parent.feedId":"<<feedid>>"})
    ==============

    --> Replace the <<feedid>> with the instance Id (field ID - 179 value) of the broadcast that needs to be deleted, which can be queried from ITSM in the CFG:Broadcast form.


    Article Number:

    000112683


    Article Type:

    FAQ/Procedural



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles