Ensuring compliance in TDM through automation