Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  Message Tracking Records Purging

    Posted Thu March 19, 2026 12:59 AM

    Hi, 
    The message tracking application currently contains a large volume of records, and we are planning to implement purge mechanism to clean up older records for message tracking application. Is there any OOB functionality available in MAS 9 to perform this activity.

    Thanks



    ------------------------------
    Saran R
    ------------------------------


  • 2.  RE: Message Tracking Records Purging

    Posted Thu March 19, 2026 03:17 AM

    Hi @Saran R,

    Based on my knowledge, there is no OOTB solution for this in MAS 9. In one of the tech note for Maximo 7.x IBM mentioned that this is "(...) a system administrator responsibilities to keep it under control.".

    Probably this is one of the reasons why such a solution is not there.



    ------------------------------
    Bartosz Marchewka
    IBM Maximo Consultant
    AFRY
    ------------------------------



  • 3.  RE: Message Tracking Records Purging

    Posted Thu March 19, 2026 08:34 AM

    Hi Saran,

    As Bartosz mentioned, message tracking functions more like a historical log for integration messages, and there is no out‑of‑the‑box solution for automated cleanup. However, you can implement this using a script-based Cron job.

    For each integration interface, you can create a Cron instance. Each instance includes parameters where you can configure the external system name, interface name, and the number of days to retain messages or select messages for deletion.

    We currently have this set to retain only the last 30 days of messages from the current date. 

    Please let me know if you need any assistance. Happy to assist.



    ------------------------------
    SANJAY PATIL
    ------------------------------



  • 4.  RE: Message Tracking Records Purging

    Posted Fri March 20, 2026 02:54 AM
    Edited by Liliana Malaescu Fri March 20, 2026 09:22 AM

    Hi @Saran R,

    There is not an OOB functionality in MAS to purge the records in Message Tracking. We have built a cron task to achieve this, on some projects i was involved in. For one customer, the cron task runs once a month, for another every 6 months, it depends how long you want to keep the messages for, because they can be very helpful for debugging purposes.

    Hope this helps.



    ------------------------------
    Liliana Malaescu
    Naviam (formerly known as ZNAPZ)
    Solution Architect
    Romania
    ------------------------------



  • 5.  RE: Message Tracking Records Purging

    Posted Fri March 20, 2026 03:57 AM

    Hi Saran,

    I agree with the above-mentioned points - there is no OOTB functionality in MAS9 to handle automated cleanup of Message Tracking records.
    In previous implementations, we have addressed this by developing a custom Cron task to purge older records. The cleanup criteria can be configured based on requirements - for example, using the Status Date,  or any custom attribute defined for data retention. 
     
    One important consideration is to ensure that the cleanup is performed consistently across all related tables to maintain data integrity. This typically includes:
    MAXINTMSGTRKDTL, MAXINTERROR, MAXINTERRORMSG, MAXINTMSGTRK

    Hope this helps!



    ------------------------------
    Aiman Ansari
    Solution Architect
    Naviam (formerly ZNAPZ)
    Breda
    ------------------------------