TeamcenterKnowledge

Teamcenter Mechatronics Process Management utilities

mdonotification_cleanup

Deletes MDO notifications. Syntax mdonotification_cleanup [-u=user-id {-p=password | -pf=password-file} -g=group] [-all] [-date=]date[-mode=]Report/Execute[-objectuids=]objects [-actionOnNotification=]create/replace/remove/revise [-logfile= ] Arguments -u Specifies the user ID. Only the user who is part of the MDONotificationAdministartion authorization rule can use this utility to clean up notifications. This is generally a DBA user or another user with administration privileges. Note If Security Services single sign-on (SSO) is enabled for your server, the user and password arguments are authenticated externally through SSO rather than being authenticated against the Teamcenter database. If you do not supply these arguments, the utility attempts to join an existing SSO session. If no session is found, you are prompted to enter a user ID and password. -p Specifies the password. This argument is mutually exclusive with the -pf argument. -pf Specifies the password file. For more information about managing password files, see Manage password files. This argument is mutually exclusive with the -p argument. -g Specifies the group associated with the user. If used without a value, the user's default group is assumed. -all If this argument is used, all MDO notifications are deleted. If -all is passed, other input arguments to the utility are not processed. If it is not passed, other input arguments for criteria are processed. -date All MDO notifications with timestamp prior to the specified date are deleted. -mode Report mode reports the list of MDO notifications that are identified for removal. Execute mode deletes the notifications based on specified criteria. -objectuids MDO notifications that have the specified object UIDs as mdo0TriggeringComponent are deleted. -actionOnNotification MDO notifications generated for the specified actions are deleted. For example, if create and revise are passed, all MDO notifications generated for create and revise events are deleted. It can used in conjunction with the -objectuids input. -logfile Specifies the full path to the log file that records information about this utility. Environment As specified in Setting up a Teamcenter command-line environment. Files As specified in Log files produced by Teamcenter. Restrictions None. Examples To delete notifications for all create events, enter the following command on a single line: Copy mdonotification_cleanup -u=Tc-admin-user -p=password -g=group -actionOnNotification=create -mode=execute -logfile"C:\abc.txt" To generate a report about all notifications in a log file, enter the following command on a single line: Copy mdonotification_cleanup -u=Tc-admin-user -p=password -g=group -all -mode=report -logfile"C:\xyz.txt"

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/mqe1737253718001/xid1074755.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)